
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
18 lines
651 B
Text
18 lines
651 B
Text
error[E0080]: evaluation of `Late::<i32>::FAIL` failed
|
|
--> $DIR/collect-in-dead-fnptr-in-const.rs:9:22
|
|
|
|
|
LL | const FAIL: () = panic!();
|
|
| ^^^^^^^^ evaluation panicked: explicit panic
|
|
|
|
note: erroneous constant encountered
|
|
--> $DIR/collect-in-dead-fnptr-in-const.rs:10:28
|
|
|
|
|
LL | const FNPTR: fn() = || Self::FAIL;
|
|
| ^^^^^^^^^^
|
|
|
|
note: the above error was encountered while instantiating `fn Late::<i32>::FNPTR::{closure#0}`
|
|
--> $SRC_DIR/core/src/ops/function.rs:LL:COL
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|