1 error[E0492]: constants cannot refer to interior mutable data
4 LL | const B: &'static AtomicUsize = &A;
5 | ^^ this borrow of an interior mutable value may end up in the final value
7 error[E0492]: statics cannot refer to interior mutable data
10 LL | static C: &'static AtomicUsize = &A;
11 | ^^ this borrow of an interior mutable value may end up in the final value
13 = help: to fix this, the value can be extracted to a separate `static` item and then referenced
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0492`.