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