We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running the following yields an unhelpful error message, and ICE in the span printing.
fn main() { assert!(Ok(1)); }
With error
error: cannot apply unary operator `!` to type `core::result::Result<_, _>`
A potential solution could be if $cond { } else { panic! ... }
if $cond { } else { panic! ... }
Either way there is some problem with span printing on this bad use of assert!.
assert!
The text was updated successfully, but these errors were encountered:
No ICE in the span printing on nightly.
Sorry, something went wrong.
No branches or pull requests
Running the following yields an unhelpful error message, and ICE in the span printing.
With error
A potential solution could be
if $cond { } else { panic! ... }
Either way there is some problem with span printing on this bad use of
assert!
.The text was updated successfully, but these errors were encountered: