Auto merge of #2274 - RalfJung:trophy, r=RalfJung

trophy case: add the data race in thread::scope
This commit is contained in:
bors 2022-06-26 23:00:18 +00:00
commit 4ce026fc1d

View File

@ -586,6 +586,7 @@ Definite bugs found:
* [`crossbeam-epoch` calling `assume_init` on a partly-initialized `MaybeUninit`](https://github.com/crossbeam-rs/crossbeam/pull/779)
* [`integer-encoding` dereferencing a misaligned pointer](https://github.com/dermesser/integer-encoding-rs/pull/23)
* [`rkyv` constructing a `Box<[u8]>` from an overaligned allocation](https://github.com/rkyv/rkyv/commit/a9417193a34757e12e24263178be8b2eebb72456)
* [Data race in `thread::scope`](https://github.com/rust-lang/rust/issues/98498)
Violations of [Stacked Borrows] found that are likely bugs (but Stacked Borrows is currently just an experiment):