]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/panic-assoc-never-type.stderr
remove inhabitedness check
[rust.git] / src / test / ui / consts / const-eval / panic-assoc-never-type.stderr
index 28a3ebede5038f4e1cbde1a6123a56ef15b0b85f..5495a2a0121f7e65a7ba62d6949e9f0046474ada 100644 (file)
@@ -15,12 +15,11 @@ LL | #![warn(const_err)]
    = 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
+error: erroneous constant encountered
   --> $DIR/panic-assoc-never-type.rs:17:13
    |
 LL |     let _ = PrintName::VOID;
-   |             ^^^^^^^^^^^^^^^ referenced constant has errors
+   |             ^^^^^^^^^^^^^^^
 
 error: aborting due to previous error; 1 warning emitted
 
-For more information about this error, try `rustc --explain E0080`.