]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/panic-never-type.stderr
Auto merge of #81132 - bugadani:map-prealloc, r=matthewjasper
[rust.git] / src / test / ui / consts / const-eval / panic-never-type.stderr
index af68a2ff44211deaebf60466fa2da6363a847ffa..8f67dd6a8ba427c3f50b62236a9d1c5df306f580 100644 (file)
@@ -11,10 +11,12 @@ note: the lint level is defined here
    |
 LL | #![warn(const_err)]
    |         ^^^^^^^^^
+   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
+   = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error[E0080]: erroneous constant used
-  --> $DIR/panic-never-type.rs:12:13
+  --> $DIR/panic-never-type.rs:13:13
    |
 LL |     let _ = VOID;
    |             ^^^^ referenced constant has errors