-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Remove the CoroutineWitness
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 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?
Remove the CoroutineWitness
type
#144157
Conversation
@bors2 try @rust-timer queue (and crater when it's ready) |
This comment has been minimized.
This comment has been minimized.
Remove the `CoroutineWitness` type 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)
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.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (0282016): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary -3.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (primary -0.0%, secondary -0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 465.311s -> 466.27s (0.21%) |
@craterbot check |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
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)