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_2.rs:8:5
|
2018-11-21 04:58:28 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | &{a.0}
|
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:58:28 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-11-21 04:58:28 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0492`.
|