2021-01-03 08:46:19 -06:00
|
|
|
error[E0492]: constants cannot refer to interior mutable data
|
2020-12-30 11:20:38 -06:00
|
|
|
--> $DIR/qualif_overwrite.rs:10:5
|
2018-11-21 04:47:44 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | &{a}
|
2021-01-03 08:46:19 -06:00
|
|
|
| ^^^^ this borrow of an interior mutable value may end up in the final value
|
2018-11-21 04:47:44 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0492`.
|