rust/compiler/rustc_middle/src
bors 41fe75ec6b Auto merge of #118189 - compiler-errors:cache-flags-for-const, r=nnethercote
Cache flags for `ty::Const`

Not sure if this has been attempted yet, but worth a shot. It does make the code simpler in `rustc_type_ir`, since we can assume that consts have a `flags` method that is no-cost.

r? `@ghost`
2023-11-24 04:54:35 +00:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer Uplift CanonicalVarInfo and friends 2023-11-21 17:49:57 +00:00
middle Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
mir Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkin 2023-11-22 09:28:51 -08:00
query Allow defining opaques in check_coroutine_obligations 2023-11-22 03:44:13 +00:00
thir Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
traits Auto merge of #118152 - matthiaskrgr:rollup-bqcck4w, r=matthiaskrgr 2023-11-22 00:30:56 +00:00
ty Auto merge of #118189 - compiler-errors:cache-flags-for-const, r=nnethercote 2023-11-24 04:54:35 +00:00
util Merge ExternProviders into the general Providers struct 2023-09-22 20:15:34 +00:00
arena.rs Cache flags for ty::Const 2023-11-22 23:28:28 +00:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs Stabilize RFC3324 dyn upcasting coercion 2023-11-22 13:56:36 +01:00
lint.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
macros.rs Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
values.rs make LayoutError::Cycle carry ErrorGuaranteed 2023-11-12 18:59:18 +00:00