-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Silence knock-down errors on [type error]
bindings
#106199
Conversation
r? @eholk (rustbot has picked a reviewer for you, use r? to override) |
9d4297a
to
e5bd7ce
Compare
This comment was marked as resolved.
This comment was marked as resolved.
e5bd7ce
to
6e972ab
Compare
This comment has been minimized.
This comment has been minimized.
@@ -1,9 +1,13 @@ | |||
// The purpose of this test is not to validate the output of the compiler. | |||
// Instead, it ensures the suggestion is generated without performing an arithmetic overflow. | |||
|
|||
struct S; |
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.
Why did you change this UI test? I think the UI test was added to check for an ICE that resulted specifically from this combination of resolver errors.
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.
Because the error that produced the ICE would no longer emit with the correct propagation of [type error]
. The relevant part seemed to be the error that I kept.
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.
Hm, I'm not sure if this modified UI test is "faithful" to the ICE anymore, either, though. I'm tempted to leave it as-is even if the error output turns into basically nothing. Either that, or we should just yeet this test completely..
I guess I don't care strongly any way.
6e972ab
to
8e039b6
Compare
r=me |
@bors r=compiler-errors |
…, r=compiler-errors Silence knock-down errors on `[type error]` bindings Fix rust-lang#56036, fix rust-lang#76589.
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#106028 (docs/test: add UI test and long-form error docs for `E0461`) - rust-lang#106172 (Suggest `impl Iterator` when possible for `_` return type) - rust-lang#106173 (Deduplicate `op` methods) - rust-lang#106176 (Recover `fn` keyword as `Fn` trait in bounds) - rust-lang#106194 (rustdoc: combine common sidebar background color CSS rules) - rust-lang#106199 (Silence knock-down errors on `[type error]` bindings) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fix #56036, fix #76589.