rust/compiler/rustc_middle/src
Matthias Krüger 28b9354bf6
Rollup merge of #109447 - lcnr:coherence, r=compiler-errors
new solver cleanup + implement coherence

the cleanup:
- change `Certainty::unify_and` to consider ambig + overflow to be ambig
- rename `trait_candidate_should_be_dropped_in_favor_of` to `candidate_should_be_dropped_in_favor_of`
- remove outdated fixme

For coherence I mostly just add an ambiguous candidate if the current trait ref is unknowable. I am doing the same for reservation impl where I also just add an ambiguous candidate.
2023-03-22 22:44:43 +01:00
..
dep_graph Pass DepContext and QueryContext by value when practical 2023-02-14 17:21:18 +01:00
hir RPITITs are DefKind::Opaque with new lowering strategy 2023-03-21 23:36:07 +00:00
infer Auto merge of #108121 - aliemjay:resolve-var-region, r=lcnr 2023-03-08 12:33:21 +00:00
middle rustc_middle: Remove trait DefIdTree 2023-03-02 23:46:44 +04:00
mir Rollup merge of #109280 - compiler-errors:no-vec-map, r=Mark-Simulacrum 2023-03-23 00:00:32 +05:30
query LocalCrate key 2023-03-21 15:38:52 +00:00
thir Move THIR printing to rustc_mir_build. 2023-02-26 14:31:15 +00:00
traits woops 2023-03-21 16:39:24 +01:00
ty Rollup merge of #109378 - MU001999:master, r=scottmcm 2023-03-22 22:44:42 +01:00
util Add some docs to bug, span_bug and delay_span_bug 2022-12-30 16:47:56 +01:00
arena.rs Rollup merge of #108806 - cjgillot:query-lints, r=davidtwco 2023-03-11 15:43:15 +01:00
error.rs Match crate and slug names 2022-11-21 15:24:50 +01:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
lint.rs create helper function for rustc_lint_defs::Level and remove it's duplicated code r=ozkanonur 2023-01-10 10:56:17 +03:00
macros.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Make ExprKind the first field in thir::Expr 2023-03-02 18:21:44 +00:00
values.rs rustc_middle: Remove trait DefIdTree 2023-03-02 23:46:44 +04:00