1 warning: skipping const checks
2 --> $DIR/const_fn_ptr_fail2.rs:13:5
7 error[E0080]: evaluation of constant expression failed
8 --> $DIR/const_fn_ptr_fail2.rs:20:5
10 LL | assert_eq!(Y, 4);
13 | referenced constant has errors
15 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
17 error[E0080]: evaluation of constant expression failed
18 --> $DIR/const_fn_ptr_fail2.rs:22:5
20 LL | assert_eq!(Z, 4);
23 | referenced constant has errors
25 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
27 error: aborting due to 2 previous errors; 1 warning emitted
29 For more information about this error, try `rustc --explain E0080`.