We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
>>
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[derive(Copy, Clone)] pub struct StdCounter<T: Zero + Add<T, Output = T> + Sub<T, Output = T>> { pub value: T }
error is
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: IllFormedSpan(Span { lo: BytePos(190), hi: BytePos(189), expn_id: ExpnId(4294967295) })', ../src/libcore/result.rs:734
Pretty sure this is due to a libsyntax error (rust-lang/rust#28158), but in case it isn't lets track it here too.
The text was updated successfully, but these errors were encountered:
I get the a similar IllFormedSpan error on this snippet, which compiles fine with rustc itself. Does that mean it's not a libsyntax error?
IllFormedSpan
fn main() { match () {_ => () } }
Similarly inserting a space between the { and the _ fixes it.
{
_
Sorry, something went wrong.
@ben0x539 No, we use more spans than rustc and (more importantly) use them in more interesting ways.
And another example (from liballoc):
fn homura<T: Deref<Target=i32>>(_: T) { }
Should be fixed by rust-lang/rust#28291
99ffb5a
No branches or pull requests
error is
Pretty sure this is due to a libsyntax error (rust-lang/rust#28158), but in case it isn't lets track it here too.
The text was updated successfully, but these errors were encountered: