]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/partial_qualif.stderr
Rollup merge of #107004 - compiler-errors:new-solver-new-candidates-2, r=lcnr
[rust.git] / tests / ui / consts / partial_qualif.stderr
1 error[E0492]: constants cannot refer to interior mutable data
2   --> $DIR/partial_qualif.rs:6:5
3    |
4 LL |     &{a}
5    |     ^^^^ this borrow of an interior mutable value may end up in the final value
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0492`.