rust/compiler
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-17 19:41:02 +02:00
2021-07-15 16:09:57 -05:00
2021-07-13 17:58:50 +09:00
2021-07-10 20:54:49 +08:00