about summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/const_fn_ptr.stderr
blob: ab18020056b0aeb174310fee3e665fd3730d020f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
warning: skipping const checks
   |
help: skipping check that does not even have a feature gate
  --> $DIR/const_fn_ptr.rs:12:5
   |
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)
   |     ^^^^^^^^^^
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)
   |     ^
help: skipping check that does not even have a feature gate
  --> $DIR/const_fn_ptr.rs:20:5
   |
LL |     x(y)
   |     ^^^^

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