summaryrefslogtreecommitdiffstats
path: root/src/test/ui/borrowck/borrowck-lend-flow.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/borrowck/borrowck-lend-flow.stderr')
-rw-r--r--src/test/ui/borrowck/borrowck-lend-flow.stderr13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/borrowck/borrowck-lend-flow.stderr b/src/test/ui/borrowck/borrowck-lend-flow.stderr
deleted file mode 100644
index 40c14f54c..000000000
--- a/src/test/ui/borrowck/borrowck-lend-flow.stderr
+++ /dev/null
@@ -1,13 +0,0 @@
-error[E0502]: cannot borrow `*v` as mutable because it is also borrowed as immutable
- --> $DIR/borrowck-lend-flow.rs:24:16
- |
-LL | let _w = &v;
- | -- immutable borrow occurs here
-LL | borrow_mut(&mut *v);
- | ^^^^^^^ mutable borrow occurs here
-LL | _w.use_ref();
- | ------------ immutable borrow later used here
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0502`.