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

error: aborting due to previous error