1 warning: any use of this value will cause an error
2 --> $DIR/panic-assoc-never-type.rs:11:21
4 LL | const VOID: ! = panic!();
5 | ----------------^^^^^^^^-
7 | the evaluated program panicked at 'explicit panic', $DIR/panic-assoc-never-type.rs:11:21
9 note: the lint level is defined here
10 --> $DIR/panic-assoc-never-type.rs:4:9
12 LL | #![warn(const_err)]
14 = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
16 error[E0080]: erroneous constant used
17 --> $DIR/panic-assoc-never-type.rs:16:13
19 LL | let _ = PrintName::VOID;
20 | ^^^^^^^^^^^^^^^ referenced constant has errors
22 error: aborting due to previous error; 1 warning emitted
24 For more information about this error, try `rustc --explain E0080`.