Files
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
..
2021-07-10 21:46:31 +08:00
2021-07-16 09:18:14 -07:00
2021-06-02 08:49:58 +02:00
2021-05-22 14:36:22 +02:00