diff options
Diffstat (limited to 'tests/ui/consts/const-mut-refs/issue-76510.rs')
-rw-r--r-- | tests/ui/consts/const-mut-refs/issue-76510.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/consts/const-mut-refs/issue-76510.rs b/tests/ui/consts/const-mut-refs/issue-76510.rs index b853e2737..143d2fb6b 100644 --- a/tests/ui/consts/const-mut-refs/issue-76510.rs +++ b/tests/ui/consts/const-mut-refs/issue-76510.rs @@ -9,7 +9,6 @@ const S: &'static mut str = &mut " hello "; const fn trigger() -> [(); unsafe { let s = transmute::<(*const u8, usize), &ManuallyDrop<str>>((S.as_ptr(), 3)); - //~^ constant 0 }] { [(); 0] |