diff options
Diffstat (limited to 'src/test/ui/borrowck/issue-52713-bug.stderr')
-rw-r--r-- | src/test/ui/borrowck/issue-52713-bug.stderr | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/borrowck/issue-52713-bug.stderr b/src/test/ui/borrowck/issue-52713-bug.stderr deleted file mode 100644 index 4abb6fb2c..000000000 --- a/src/test/ui/borrowck/issue-52713-bug.stderr +++ /dev/null @@ -1,14 +0,0 @@ -error[E0506]: cannot assign to `x` because it is borrowed - --> $DIR/issue-52713-bug.rs:12:5 - | -LL | let y = &x; - | -- borrow of `x` occurs here -... -LL | x += 1; - | ^^^^^^ assignment to borrowed `x` occurs here -LL | println!("{}", y); - | - borrow later used here - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0506`. |