]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/issue-76064.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / consts / issue-76064.stderr
index f939ff3397504e54093cc2f48f0d8fa15965098a..9bda1b7570d56c122dde437fc9ccd19eccedf08d 100644 (file)
@@ -1,8 +1,8 @@
 error[E0658]: panicking in constants is unstable
-  --> $DIR/issue-76064.rs:1:17
+  --> $DIR/issue-76064.rs:3:17
    |
-LL | struct Bug([u8; panic!(1)]);
-   |                 ^^^^^^^^^
+LL | struct Bug([u8; panic!("panic")]);
+   |                 ^^^^^^^^^^^^^^^
    |
    = note: see issue #51999 <https://github.com/rust-lang/rust/issues/51999> for more information
    = help: add `#![feature(const_panic)]` to the crate attributes to enable