summary refs log tree commit diff
path: root/src/test/ui/mut-ref.stderr
blob: d2df58881a25f12ee5002232829551f2c9707c72 (plain)
1
2
3
4
5
6
7
8
error: the order of `mut` and `ref` is incorrect
  --> $DIR/mut-ref.rs:14:9
   |
LL |     let mut ref x = 10; //~ ERROR the order of `mut` and `ref` is incorrect
   |         ^^^^^^^ help: try switching the order: `ref mut`

error: aborting due to previous error