summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0499.nll.stderr
blob: 27a71df147e1d759bb9086c613ed4c33d690cd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: compilation successful
  --> $DIR/E0499.rs:11:1
   |
LL | / fn main() { #![rustc_error] // rust-lang/rust#49855
LL | |     let mut i = 0;
LL | |     let mut x = &mut i;
LL | |     let mut a = &mut i; //~ ERROR E0499
LL | | }
   | |_^

error: aborting due to previous error