summaryrefslogtreecommitdiff
path: root/tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr')
-rw-r--r--tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr b/tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr
index 109d15a8e4d..61b00be345f 100644
--- a/tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr
+++ b/tests/ui/consts/const-mut-refs/issue-76510.64bit.stderr
@@ -19,12 +19,6 @@ error[E0596]: cannot borrow data in a `&` reference as mutable
LL | const S: &'static mut str = &mut " hello ";
| ^^^^^^^^^^^^^^ cannot borrow as mutable
-note: erroneous constant used
- --> $DIR/issue-76510.rs:11:70
- |
-LL | let s = transmute::<(*const u8, usize), &ManuallyDrop<str>>((S.as_ptr(), 3));
- | ^
-
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0596, E0658, E0764.