-
Notifications
You must be signed in to change notification settings - Fork 14k
crater: don't normalize where-clauses when checking well-formedness #148477
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
base: main
Are you sure you want to change the base?
Conversation
|
@bors try |
This comment has been minimized.
This comment has been minimized.
crater: don't normalize where-clauses when checking well-formedness
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
Footnotes
|
|
☔ The latest upstream changes (presumably #139558) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Affected projects: 2 dependencies of
|
|
I think we should also stop normalizing in rust/compiler/rustc_hir_analysis/src/check/wfcheck.rs Lines 1154 to 1163 in a7b3715
|
|
And probably these
|
|
The job Click to see the possible cause of the failure (guessed by this bot)For more information how to resolve CI failures of this job, visit this link. |
|
wrt to normalizing obligations for default params before proving them 😅 we do need to normalize obligations before proving them in the old solver and this already doesn't normalize
rust/compiler/rustc_middle/src/ty/predicate.rs Lines 125 to 127 in 5dbf406
The only "issue" is when normalizing obligations (or types - which we currently sometimes do intentionally because of implied bounds stuff) before checking that the obligation is well-formed, and this only happens before calling |
|
@bors try |
This comment has been minimized.
This comment has been minimized.
crater: don't normalize where-clauses when checking well-formedness
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
WfCheck checks where-clauses after normalization, and we'd like to see what would break if it didn't for rust-lang/trait-system-refactor-initiative#255
r? ghost