summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-51515.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-51515.stderr')
-rw-r--r--src/test/ui/issues/issue-51515.stderr20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/issues/issue-51515.stderr b/src/test/ui/issues/issue-51515.stderr
deleted file mode 100644
index 067bdef8b..000000000
--- a/src/test/ui/issues/issue-51515.stderr
+++ /dev/null
@@ -1,20 +0,0 @@
-error[E0594]: cannot assign to `*foo`, which is behind a `&` reference
- --> $DIR/issue-51515.rs:5:5
- |
-LL | let foo = &16;
- | --- help: consider changing this to be a mutable reference: `&mut 16`
-...
-LL | *foo = 32;
- | ^^^^^^^^^ `foo` is a `&` reference, so the data it refers to cannot be written
-
-error[E0594]: cannot assign to `*bar`, which is behind a `&` reference
- --> $DIR/issue-51515.rs:8:5
- |
-LL | let bar = foo;
- | --- consider changing this binding's type to be: `&mut i32`
-LL | *bar = 64;
- | ^^^^^^^^^ `bar` is a `&` reference, so the data it refers to cannot be written
-
-error: aborting due to 2 previous errors
-
-For more information about this error, try `rustc --explain E0594`.