Closed
Description
Tried to use operator overloading in my rparse library and it worked fine until the end when it began segfaulting. Finally tracked it down to the everything method which looks like this:
fn everything<U: Copy Owned>(space: Parser<U>) -> Parser<T>
{
space >> self << eot()
}
If my test calls that method it segfaults. If my test manually inlines the body of the method it passes. If you add some logging to the shl method pass1 winds up with a garbage integer value instead of an Xml struct (assuming you use the %? specifier and make check1).