]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-eval/const_fn_ptr_fail2.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / const_fn_ptr_fail2.stderr
1 error[E0080]: evaluation of constant value failed
2 --> $DIR/const_fn_ptr_fail2.rs:19:16
3 |
4 LL | assert_eq!(Y, 4);
5 | ^ referenced constant has errors
6
7 error[E0080]: evaluation of constant value failed
8 --> $DIR/const_fn_ptr_fail2.rs:21:16
9 |
10 LL | assert_eq!(Z, 4);
11 | ^ referenced constant has errors
12
13 warning: skipping const checks
14 |
15 help: skipping check that does not even have a feature gate
16 --> $DIR/const_fn_ptr_fail2.rs:12:5
17 |
18 LL | x(y)
19 | ^^^^
20
21 error: aborting due to 2 previous errors; 1 warning emitted
22
23 For more information about this error, try `rustc --explain E0080`.