-
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
[WIP] rustc_typeck: make "global" WF requirements hard errors, in type aliases. #54394
Conversation
@bors try |
⌛ Trying commit 1713f89 with merge f1a3f05968ed2a674e09b6efa4ad9df90816e2b6... |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
☀️ Test successful - status-travis |
@craterbot run start=master#f7f4c500b46603386e940f116b469c7adc043a6d end=try#f1a3f05968ed2a674e09b6efa4ad9df90816e2b6 mode=check-only |
👌 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
|
@nikomatsakis Can you take a look at these results? I'm confused because I expected to not see any errors - maybe the crater run should've been done with EDIT: I looked at a random sample, and only a few were |
Triage; @nikomatsakis Hello, are you able to review this PR? |
@Aaronepower This is not waiting on a review, I still have to finish the PR. |
Just saw this, sorry... |
Ping from triage @eddyb: what is the status of this PR? |
I'm going to close this PR for now. I do plan to start opening some PRs and issuing warnings, per the plan discussed in #55222 |
Based on #54033, a theory I want to test on crater.
Unlike #54033, this only errors on "unusable" aliases, as in, no choice of type parameters can make them WF, because they include nested non-WF types/constants.
r? @nikomatsakis