rust/compiler/rustc_middle/src
Matthias Krüger 7ea507e041
Rollup merge of #125451 - oli-obk:const_type_mismatch, r=compiler-errors
Fail relating constants of different types

fixes #121585
fixes #121858
fixes #124151

I gave this several attempts before, but we lost too many important diagnostics until I managed to make compilation never bail out early. We have reached this point, so now we can finally fix all those ICEs by bubbling up an error instead of continueing when we encounter a bug.
2024-05-25 12:54:34 +02:00
..
dep_graph Use a dyn Debug trait object instead of a closure. 2024-03-27 10:59:18 +00:00
hir rustc: Use tcx.used_crates(()) more 2024-05-22 18:02:51 +03:00
hooks Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
infer Uplift OutlivesPredicate, remove a bunch of unnecessary associated types from Interner 2024-05-21 17:00:45 -04:00
middle Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
mir Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726 2024-05-23 21:36:54 +00:00
query Use regular type equating instead of a custom query 2024-05-24 09:15:43 +00:00
thir Track mutability of deref patterns 2024-04-20 15:59:54 +02:00
traits move global cache lookup into fn 2024-05-20 20:40:02 +00:00
ty Auto merge of #124187 - compiler-errors:self-ctor, r=petrochenkov 2024-05-25 01:17:55 +00:00
util Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
arena.rs Uplift inspect into rustc_type_ir 2024-05-18 16:21:43 -04:00
error.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
lib.rs Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
lint.rs Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
macros.rs Lift Lift 2024-05-10 15:44:03 -04:00
metadata.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
values.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00