fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
718 B17 linesraw
1error[E0080]: evaluation of `PrintName::<i32>::VOID` failed
2  --> $DIR/erroneous_const.rs:LL:CC
3   |
4LL |     const VOID: ! = panic!();
5   |                     ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/erroneous_const.rs:LL:CC
6   |
7   = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9note: erroneous constant encountered
10  --> $DIR/erroneous_const.rs:LL:CC
11   |
12LL |         let _ = PrintName::<T>::VOID;
13   |                 ^^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0080`.