- Notifications
You must be signed in to change notification settings - Fork13.5k
Remove theCoroutineWitness
type#144157
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 ourterms of service andprivacy 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
@bors2 try@rust-timer queue (and crater when it's ready) |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
Remove the `CoroutineWitness` typeIt's no longer needed, since it just always the `Coroutine` that it's contained within.This PR reworks a bit of obligation stalling logic and dtorck constraint behavior, but otherwise it's pretty straightforward.r? `@lcnr` or reassign (e.g. to oli, who probably would also be down to review)
The job Click to see the possible cause of the failure (guessed by this bot)
|
@@ -905,6 +905,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write { | |||
} | |||
}else{ | |||
p!(print_def_path(did, args)); | |||
// TODO: Restore witness types? |
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.
I'll probably leave these out. Otherwise we could have query cycles here.
}else{ | ||
// TODO: We could still recurse into upvars and the resume here. |
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.
This is definitely a FIXME for later. I don't think this has any side effect.
Queued0282016 with parent8f08b3a, futurecomparison URL. |
It's no longer needed, since it just always the
Coroutine
that it's contained within.This PR reworks a bit of obligation stalling logic and dtorck constraint behavior, but otherwise it's pretty straightforward.
r?@lcnr or reassign (e.g. to oli, who probably would also be down to review)