-
Notifications
You must be signed in to change notification settings - Fork 353
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 for error reform #1219
rustup for error reform #1219
Conversation
243b4f8
to
d6d5365
Compare
☔ The latest upstream changes (presumably #1227) made this pull request unmergeable. Please resolve the merge conflicts. |
we basically treat them as lang items
@@ -1,9 +1,9 @@ | |||
fn main() { | |||
fn f() {} | |||
fn f() {} //~ ERROR calling a function with more arguments than it expected |
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.
Interestingly, the span moved here. Might have to do with switching to a try
block?
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.
Ah it probably does, throw_*!
macros internally use return
so try
no longer catches them oops
@bors r+ |
📌 Commit 49051e0 has been approved by |
☀️ Test successful - checks-travis, status-appveyor |
This is the Miri side of rust-lang/rust#69839.