10 lines
358 B
Plaintext
10 lines
358 B
Plaintext
|
error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
|
||
|
--> $DIR/qualif_overwrite_2.rs:10:5
|
||
|
|
|
||
|
LL | &{a.0} //~ ERROR cannot borrow a constant which may contain interior mutability
|
||
|
| ^^^^^^
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0492`.
|