rust/src/test/ui/consts/const-eval/const_fn_ptr.stderr

33 lines
920 B
Plaintext
Raw Normal View History

2019-09-21 09:09:38 -05:00
warning: skipping const checks
|
2020-05-03 07:23:08 -05:00
help: skipping check that does not even have a feature gate
--> $DIR/const_fn_ptr.rs:12:5
2019-09-21 09:09:38 -05:00
|
2020-05-03 07:23:08 -05:00
LL | X(x)
| ^^^^
help: skipping check that does not even have a feature gate
--> $DIR/const_fn_ptr.rs:16:5
|
LL | X_CONST(x)
| ^^^^^^^^^^
2020-09-24 18:18:49 -05:00
help: skipping check for `const_fn_fn_ptr_basics` feature
--> $DIR/const_fn_ptr.rs:19:14
|
LL | const fn foo(x: fn(usize) -> usize, y: usize) -> usize {
| ^
help: skipping check for `const_fn_fn_ptr_basics` feature
--> $DIR/const_fn_ptr.rs:20:5
|
LL | x(y)
| ^
2020-05-03 07:23:08 -05:00
help: skipping check that does not even have a feature gate
--> $DIR/const_fn_ptr.rs:20:5
2019-09-21 09:09:38 -05:00
|
2020-05-03 07:23:08 -05:00
LL | x(y)
| ^^^^
2019-09-21 09:09:38 -05:00
2020-09-24 18:18:49 -05:00
error: `-Zunleash-the-miri-inside-of-you` may not be used to circumvent feature gates, except when testing error paths in the CTFE engine
error: aborting due to previous error; 1 warning emitted