-
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
Stop being so bail-y in candidate assembly #132090
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Whoops, I wanted an lcnr vibe check r? lcnr |
// may also be useful for predicates other than `Sized` | ||
// Error type cannot possibly implement `Sized` (fixes #123154) | ||
if let Err(e) = obligation.predicate.skip_binder().self_ty().error_reported() { | ||
return Err(SelectionError::Overflow(e.into())); |
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.
:((((((((((( what the heck were we doing here!!
This comment has been minimized.
This comment has been minimized.
@@ -0,0 +1,16 @@ | |||
#![feature(dyn_compatible_for_dispatch)] | |||
|
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.
regression test for X
be0b97f
to
6b46613
Compare
This comment has been minimized.
This comment has been minimized.
:think: i guess it's failing on |
☔ The latest upstream changes (presumably #132326) made this pull request unmergeable. Please resolve the merge conflicts. |
6b46613
to
0465f71
Compare
@rustbot ready |
@bors r+ rollup |
Stop being so bail-y in candidate assembly A conceptual follow-up to rust-lang#132084. We gotta stop bailing so much when there are errors; it's both unnecessary, leads to weird knock-on errors, and it's messing up the vibes lol
A conceptual follow-up to #132084. We gotta stop bailing so much when there are errors; it's both unnecessary, leads to weird knock-on errors, and it's messing up the vibes lol