Detailed analysis of crater results for rust-lang/rust#128351
Summary: all crates that the lint triggered on contained actual UB (both in Stacked Borrows and in Tree Borrows). Not all instances are UB (some are only reads), though, but this clearly show the pattern is dangerous. However, there are some popular crates that do that.
Most are conversions from &NonAtomic
to &Atomic
.