about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/mod-static-with-const-fn.stderr
blob: f8a6fa24a362493985b44828f56db1e3771a11d7 (plain)
1
2
3
4
5
6
7
8
9
error[E0080]: modifying a static's initial value from another static's initializer
  --> $DIR/mod-static-with-const-fn.rs:14:5
   |
LL |     *FOO.0.get() = 5;
   |     ^^^^^^^^^^^^^^^^ evaluation of `BAR` failed here

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0080`.