rust/compiler/rustc_trait_selection/src
Dylan DPC 0b002eb906
Rollup merge of #112122 - compiler-errors:next-coherence, r=lcnr
Add `-Ztrait-solver=next-coherence`

Flag that conditionally uses the trait solver *only* during coherence, for more testing and/or eventual partial-migration onto the trait solver (in the medium- to long-term).

* This still uses the selection context in some of the coherence methods I think, so it's not "complete". Putting this up for review and/or for further work in-tree.
* I probably need to spend a bit more time making sure that we don't sneakily create any other infcx's during coherence that also need the new solver enabled.

r? `@lcnr`
2023-06-07 18:01:29 +05:30
..
solve Rollup merge of #112122 - compiler-errors:next-coherence, r=lcnr 2023-06-07 18:01:29 +05:30
traits Rollup merge of #112122 - compiler-errors:next-coherence, r=lcnr 2023-06-07 18:01:29 +05:30
errors.rs IAT: Introduce AliasKind::Inherent 2023-05-04 16:59:10 +02:00
infer.rs Fallible<_> -> Result<_, NoSolution> 2023-05-25 17:29:22 +00:00
lib.rs Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00