-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Error codes new #42654
Error codes new #42654
Conversation
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
This looks good. Only comment I have on the text is whether this should include stating what the type was of the "something" that was called. I don't know if that'd every be useful to the user who sees this error in debugging though. |
6c91102
to
8f32a30
Compare
I'm wondering what the purpose of making these different error codes is. It seems more like E0618 is just a special case of E0619 at the moment. The latter looks like a catch-all "you called something that can't be called" error, while the former is specifically about unit types? Would it be a problem to make them use the same error code? |
@QuietMisdreavus: I was wondering about this and I think I'll go this way. |
8f32a30
to
975d2e9
Compare
Bunch of travis failures e.g.
|
975d2e9
to
fa655bd
Compare
fa655bd
to
f720e97
Compare
Fixed CI. |
Looks good to me! @bors r+ |
📌 Commit f720e97 has been approved by |
@bors rollup |
…uietMisdreavus Error codes new Part of rust-lang#42229. cc @Susurrus @frewsxcv @QuietMisdreavus
Part of #42229.
cc @Susurrus @frewsxcv @QuietMisdreavus