rust/compiler/rustc_middle/src
Matthias Krüger 3aeafca070
Rollup merge of #107304 - Nilstrieb:ᐸTy as PartialEqᐳ::eq because what else are we gonna use in rustc_middle, r=compiler-errors
Use `can_eq` to compare types for default assoc type error

This correctly handles inference variables like `{integer}`. I had to move all of this `note_and_explain` code to `rustc_infer`, it made no sense for it to be in `rustc_middle` anyways.

The commits are reviewed separately.

Fixes #106968
2023-01-26 07:53:26 +01:00
..
dep_graph rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
hir Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
infer remove assembly context and impl a bit more 2023-01-18 08:11:15 +01:00
middle rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
mir Rollup merge of #107153 - tmiasko:dominates, r=oli-obk 2023-01-23 19:30:02 +09:00
query Auto merge of #105582 - saethlin:instcombine-assert-inhabited, r=cjgillot 2023-01-26 03:10:52 +00:00
thir
traits fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
ty Rollup merge of #107304 - Nilstrieb:ᐸTy as PartialEqᐳ::eq because what else are we gonna use in rustc_middle, r=compiler-errors 2023-01-26 07:53:26 +01:00
util Add some docs to bug, span_bug and delay_span_bug 2022-12-30 16:47:56 +01:00
arena.rs Remove output_filenames field from TyCtxt and feed the query instead 2023-01-12 17:14:17 +00:00
error.rs Match crate and slug names 2022-11-21 15:24:50 +01:00
lib.rs Only allow feeding a value to newly created definitions. 2022-11-29 18:43:00 +00: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 Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
metadata.rs
tests.rs
thir.rs Migrate deconstruct_pat.rs 2023-01-11 14:39:49 -08:00
values.rs add EarlyBinder::subst_identity; impl ParameterizedOverTcx (needed for rustc_metadata) and Value for EarlyBinder 2023-01-14 00:13:06 -07:00