]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-eval/mod-static-with-const-fn.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / consts / const-eval / mod-static-with-const-fn.stderr
1 error[E0080]: could not evaluate static initializer
2   --> $DIR/mod-static-with-const-fn.rs:16:5
3    |
4 LL |     *FOO.0.get() = 5;
5    |     ^^^^^^^^^^^^^^^^ modifying a static's initial value from another static's initializer
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.