-
Notifications
You must be signed in to change notification settings - Fork 13.3k
wf: emit projection goal for aliases #140558
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: master
Are you sure you want to change the base?
Conversation
To check that their normalization succeeds in the current environment. This eagerly detects ambiguous and diverging aliases.
@bors try |
changes to changes to the core type system |
type Diverges<D: Trait> = D::Diverges<D>; | ||
} | ||
|
||
struct Bar<T: ?Sized = <u8 as Trait>::Diverges<u8>>(Box<T>); |
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.
As there are no where-bounds on T
, we never normalized the parameter default with the old solver. This is a breaking change
wf: emit projection goal for aliases To check that their normalization succeeds in the current environment. This eagerly detects ambiguous and diverging aliases. r? `@compiler-errors`
This comment has been minimized.
This comment has been minimized.
This PR changes a file inside |
@craterbot check |
🚨 Error: missing start toolchain 🆘 If you have any trouble with Crater please ping |
@craterbot check end=try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac |
🚨 Error: missing start toolchain 🆘 If you have any trouble with Crater please ping |
@craterbot run start=master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 end=try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac mode=check |
🚨 Error: failed to parse the command 🆘 If you have any trouble with Crater please ping |
@craterbot check start=master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 end=try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
☔ The latest upstream changes (presumably #140549) made this pull request unmergeable. Please resolve the merge conflicts. |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
To check that their normalization succeeds in the current environment. This eagerly detects ambiguous and diverging aliases.
Fixes #102252, fixes #126268 by removing the assertion in
min_specialization.rs
.r? @compiler-errors