rust/compiler/rustc_middle/src
Guillaume Gomez 6cb69ea790
Rollup merge of #87268 - SkiFire13:fix-uninit-ref-list, r=nagisa
Don't create references to uninitialized data in `List::from_arena`

Previously `result` and `arena_slice` were references pointing to uninitialized data, which is technically UB. They may have been fine because the pointed data is `Copy` and and they were only written to, but the semantics of this aren't clearly defined yet, and since we have a sound way to do the same thing I don't think we should keep the possibly-unsound way.
2021-07-19 11:37:49 +02:00
..
dep_graph Update DepNode's size 2021-07-10 21:46:31 +08:00
hir Shrink the CrateStore dynamic interface. 2021-07-14 16:37:56 +02:00
ich rename assert_matches module 2021-07-16 09:18:14 -07:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov 2021-07-18 14:21:56 +09:00
mir Auto merge of #87123 - RalfJung:miri-provenance-overhaul, r=oli-obk 2021-07-17 15:26:27 +00:00
query Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
traits Add initial implementation of HIR-based WF checking for diagnostics 2021-07-16 16:29:02 -05:00
ty Rollup merge of #87268 - SkiFire13:fix-uninit-ref-list, r=nagisa 2021-07-19 11:37:49 +02:00
util
arena.rs Make THIR building a stealable query 2021-05-22 14:36:22 +02:00
lib.rs use NonZeroU64 for AllocId to restore old type sizes 2021-07-14 18:17:49 +02:00
lint.rs Add -Zfuture-incompat-test to assist with testing future-incompat reports. 2021-07-14 08:37:58 -07:00
macros.rs
tests.rs
thir.rs Add documentation for various THIR structs 2021-06-22 17:58:30 +02:00