-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Check ConstArgHasType goals even when not wfchecking
#150322
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
|
changes to the core type system |
| enter_wf_checking_ctxt_inner(tcx, body_def_id, !tcx.features().trivial_bounds(), f) | ||
| } | ||
|
|
||
| pub(super) fn enter_wf_checking_ctxt_without_checking_global_bounds<'tcx, F>( |
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.
it seems suboptimal to me that we implicitly check things about the where clauses of an item just from creating a wfcx. ideally this would happen as part of actually checking the where clauses or something?
|
@bors try |
Check `ConstArgHasType` goals even when not wfchecking
This comment has been minimized.
This comment has been minimized.
|
needs a crater run + fcp |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
💔 Test for d15b493 failed: CI. Failed jobs:
|
ef323a1 to
1b22adb
Compare
|
crazy, completely flipped one of the like two conditions in this PR by accident @bors try |
This comment has been minimized.
This comment has been minimized.
Check `ConstArgHasType` goals even when not wfchecking
| debug!(?self.out); | ||
| } | ||
|
|
||
| #[instrument(level = "debug", skip(self))] |
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.
dont yeet this
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
Fixes #149774
r? types