1 error[E0080]: evaluation of constant value failed
2 --> $DIR/const_fn_ptr_fail2.rs:19:16
5 | ^ referenced constant has errors
7 error[E0080]: evaluation of constant value failed
8 --> $DIR/const_fn_ptr_fail2.rs:21:16
10 LL | assert_eq!(Z, 4);
11 | ^ referenced constant has errors
13 warning: skipping const checks
15 help: skipping check that does not even have a feature gate
16 --> $DIR/const_fn_ptr_fail2.rs:12:5
21 error: aborting due to 2 previous errors; 1 warning emitted
23 For more information about this error, try `rustc --explain E0080`.