blob: 86a669c433df663bbbe98f7a2962b802ea448d65 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0492]: constants cannot refer to interior mutable data
--> $DIR/qualif_overwrite.rs:10:5
|
LL | &{a}
| ^^^^ this borrow of an interior mutable value may end up in the final value
error: aborting due to previous error
For more information about this error, try `rustc --explain E0492`.
|