-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Remove chalk support from the compiler #113303
Conversation
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred in engine.rs, potentially modifying the public API of These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
cde63cd
to
0c73b41
Compare
@@ -39,7 +39,6 @@ impl<'tcx> TraitEngineExt<'tcx> for dyn TraitEngine<'tcx> { | |||
(TraitSolver::Next | TraitSolver::NextCoherence, true) => { | |||
Box::new(NextFulfillmentCtxt::new(infcx)) | |||
} | |||
(TraitSolver::Chalk, false) => Box::new(ChalkFulfillmentContext::new(infcx)), | |||
_ => bug!( |
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.
followup: this match could be exhaustive?
@bors r+ rollup=never p=10 (merge conflicts) |
☀️ Test successful - checks-actions |
Finished benchmarking commit (cd68ead): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 672.679s -> 654.344s (-2.73%) |
…es-attrs, r=fee1-dead Remove now NOP attrs `#[rustc_dump{,_env}_program_clauses]` Likely NOP since rust-lang#113303. r? `@fee1-dead`
Rollup merge of rust-lang#126668 - fmease:rm-rustc_dump_program_clauses-attrs, r=fee1-dead Remove now NOP attrs `#[rustc_dump{,_env}_program_clauses]` Likely NOP since rust-lang#113303. r? `@fee1-dead`
Removes chalk (
-Ztrait-solver=chalk
) from the compiler and prunes any dead code resulting from this, mainly:compiler/rustc_traits/src/chalk
-Ztrait-solver=chalk
and itsTraitEngine
implementationTypeWellFormedFromEnv
(and its manybug!()
match arms)chalkify
UI tests (do we want to keep any of these, but migrate them to-Ztrait-solver=next
??)Fulfills rust-lang/types-team#93.
r? @jackh726