--> $DIR/E0388.rs:2:1
|
LL | const C: i32 = 2;
- | ^^^^^^^^^^^^^^^^^
+ | ^^^^^^^^^^^^
error[E0764]: mutable references are not allowed in the final value of constants
--> $DIR/E0388.rs:4:30
--> $DIR/E0388.rs:2:1
|
LL | const C: i32 = 2;
- | ^^^^^^^^^^^^^^^^^
+ | ^^^^^^^^^^^^
error[E0764]: mutable references are not allowed in the final value of statics
--> $DIR/E0388.rs:10:38