summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/partial_qualif.stderr
blob: 32c25be21735bd760e5497b6ca86bb69464a24e4 (plain)
1
2
3
4
5
6
7
8
9
error[E0492]: constants cannot refer to interior mutable data
  --> $DIR/partial_qualif.rs:6:5
   |
LL |     &{a}
   |     ^^^^ this borrow of an interior mutable value may end up in the final value

error: aborting due to previous error

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