diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-imm-ref-to-mut-rec-field-issue-3162-c.stderr')
-rw-r--r-- | src/test/ui/borrowck/borrowck-imm-ref-to-mut-rec-field-issue-3162-c.stderr | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/borrowck/borrowck-imm-ref-to-mut-rec-field-issue-3162-c.stderr b/src/test/ui/borrowck/borrowck-imm-ref-to-mut-rec-field-issue-3162-c.stderr deleted file mode 100644 index a66db05cc..000000000 --- a/src/test/ui/borrowck/borrowck-imm-ref-to-mut-rec-field-issue-3162-c.stderr +++ /dev/null @@ -1,15 +0,0 @@ -error[E0506]: cannot assign to `_a` because it is borrowed - --> $DIR/borrowck-imm-ref-to-mut-rec-field-issue-3162-c.rs:6:9 - | -LL | let b = &mut _a; - | ------- borrow of `_a` occurs here -... -LL | _a = 4; - | ^^^^^^ assignment to borrowed `_a` occurs here -... -LL | drop(b); - | - borrow later used here - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0506`. |