-
Notifications
You must be signed in to change notification settings - Fork 381
Rustup #2535
New issue
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
Rustup #2535
Conversation
@bors r+ |
☀️ Test successful - checks-actions |
@@ -5,6 +5,6 @@ fn main() { | |||
unsafe { | |||
std::intrinsics::assume(x < 10); | |||
std::intrinsics::assume(x > 1); | |||
std::intrinsics::assume(x > 42); //~ ERROR: `assume` intrinsic called with `false` | |||
std::intrinsics::assume(x > 42); //~ ERROR: `assume` called with `false` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that it's StatementKind::Intrinsic
, maybe we should make the error talk about intrinsics as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 this is a change proposed by you, I had the intrinsic left in the name originally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh, hm... 🙈
fix breakage in rust-lang/rust#101522