rust/compiler/rustc_hir_analysis/src/check
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
..
check.rs Make TraitEngine::new use the right solver, add compare mode 2023-06-06 18:43:20 +00:00
compare_impl_item.rs Rollup merge of #112322 - compiler-errors:no-IMPLIED_BOUNDS_ENTAILMENT-if-errs, r=eholk 2023-06-05 23:48:00 +02:00
dropck.rs Rollup merge of #112060 - lcnr:early-binder, r=jackh726 2023-05-30 12:57:40 +02:00
intrinsic.rs Rename tcx.mk_re_* => Region::new_* 2023-05-29 17:54:53 +00:00
intrinsicck.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
mod.rs Avoid going through queries if a value of type AssocItem is already available 2023-06-05 14:22:45 +00:00
region.rs Separate AnonConst from ConstBlock in HIR. 2023-06-02 21:25:18 +00:00
wfcheck.rs remove has_error_field helper method 2023-06-06 09:37:30 +02:00