blob: 157a1929690215c00485b2533da4f840ed060477 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
--> $DIR/E0492.rs:14:34
|
LL | static B: &'static AtomicUsize = &A; //~ ERROR E0492
| ^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0492`.
|