warning: creating a shared reference to mutable static is discouraged --> $DIR/issue-39367.rs:22:13 | LL | / ONCE.call_once(|| { LL | | LL | | DATA = transmute LL | | ::>>, *const ArenaSet>> LL | | (Box::new(__static_ref_initialize())); LL | | }); | |______________^ shared reference to mutable static | = note: for more information, see = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives = note: `#[warn(static_mut_refs)]` on by default warning: 1 warning emitted