summary refs log tree commit diff
path: root/src/test/ui/consts/partial_qualif.stderr
blob: d695f64e2c3b55a6a1d9fddf1372cfc6f9ba6856 (plain)
1
2
3
4
5
6
7
8
9
error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
  --> $DIR/partial_qualif.rs:8:5
   |
LL |     &{a} //~ ERROR cannot borrow a constant which may contain interior mutability
   |     ^^^^

error: aborting due to previous error

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