]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/miri_unleashed/mutable_references.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / consts / miri_unleashed / mutable_references.stderr
CommitLineData
dc9dc135 1warning: skipping const checks
60c5eb7d 2 --> $DIR/mutable_references.rs:28:8
e74abb32
XL
3 |
4LL | x: &UnsafeCell::new(42),
5 | ^^^^^^^^^^^^^^^^^^^^
6
dc9dc135 7error[E0594]: cannot assign to `*OH_YES`, as `OH_YES` is an immutable static item
60c5eb7d 8 --> $DIR/mutable_references.rs:39:5
dc9dc135
XL
9 |
10LL | *OH_YES = 99;
11 | ^^^^^^^^^^^^ cannot assign
12
13error: aborting due to previous error
14
60c5eb7d 15For more information about this error, try `rustc --explain E0594`.