-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Tweaks to -Zdrop-tracking-mir #108764
Tweaks to -Zdrop-tracking-mir #108764
Conversation
r? @davidtwco (rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
@@ -149,6 +149,6 @@ impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> { | |||
&mut self, | |||
_: &InferCtxt<'tcx>, | |||
) -> Vec<PredicateObligation<'tcx>> { | |||
unimplemented!() | |||
std::mem::take(&mut self.obligations) |
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.
Just noting that this won't do much, since these are always going to be root obligations. But yeah, no need to panic here.
r? @compiler-errors @bors r+ |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#108244 (Add test for semicolon recovery ICE) - rust-lang#108746 (Don't project to RPITIT that has no default value) - rust-lang#108764 (Tweaks to -Zdrop-tracking-mir) - rust-lang#108770 (Improve documentation and argument naming of some TyCtxt methods) - rust-lang#108773 (x fmt: Only check modified files locally) - rust-lang#108775 (Use the correct bound vars in return type suggestion.) - rust-lang#108776 (Make `x test tidy` less noisy) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Split from #107421
3 commits: 1 diagnostic improvement and 2 ICEs.