|
| 1 | +warning: skipping const checks |
| 2 | + --> $DIR/const_fn_ptr.rs:25:5 |
| 3 | + | |
| 4 | +LL | assert_eq!(Y, 4); |
| 5 | + | ^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 8 | + |
| 9 | +warning: skipping const checks |
| 10 | + --> $DIR/const_fn_ptr.rs:25:5 |
| 11 | + | |
| 12 | +LL | assert_eq!(Y, 4); |
| 13 | + | ^^^^^^^^^^^^^^^^^ |
| 14 | + | |
| 15 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 16 | + |
| 17 | +warning: skipping const checks |
| 18 | + --> $DIR/const_fn_ptr.rs:25:5 |
| 19 | + | |
| 20 | +LL | assert_eq!(Y, 4); |
| 21 | + | ^^^^^^^^^^^^^^^^^ |
| 22 | + | |
| 23 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 24 | + |
| 25 | +warning: skipping const checks |
| 26 | + --> $DIR/const_fn_ptr.rs:27:5 |
| 27 | + | |
| 28 | +LL | assert_eq!(y, 4); |
| 29 | + | ^^^^^^^^^^^^^^^^^ |
| 30 | + | |
| 31 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 32 | + |
| 33 | +warning: skipping const checks |
| 34 | + --> $DIR/const_fn_ptr.rs:27:5 |
| 35 | + | |
| 36 | +LL | assert_eq!(y, 4); |
| 37 | + | ^^^^^^^^^^^^^^^^^ |
| 38 | + | |
| 39 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 40 | + |
| 41 | +warning: skipping const checks |
| 42 | + --> $DIR/const_fn_ptr.rs:27:5 |
| 43 | + | |
| 44 | +LL | assert_eq!(y, 4); |
| 45 | + | ^^^^^^^^^^^^^^^^^ |
| 46 | + | |
| 47 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 48 | + |
| 49 | +warning: skipping const checks |
| 50 | + --> $DIR/const_fn_ptr.rs:29:5 |
| 51 | + | |
| 52 | +LL | assert_eq!(y, 4); |
| 53 | + | ^^^^^^^^^^^^^^^^^ |
| 54 | + | |
| 55 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 56 | + |
| 57 | +warning: skipping const checks |
| 58 | + --> $DIR/const_fn_ptr.rs:29:5 |
| 59 | + | |
| 60 | +LL | assert_eq!(y, 4); |
| 61 | + | ^^^^^^^^^^^^^^^^^ |
| 62 | + | |
| 63 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 64 | + |
| 65 | +warning: skipping const checks |
| 66 | + --> $DIR/const_fn_ptr.rs:29:5 |
| 67 | + | |
| 68 | +LL | assert_eq!(y, 4); |
| 69 | + | ^^^^^^^^^^^^^^^^^ |
| 70 | + | |
| 71 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 72 | + |
| 73 | +warning: skipping const checks |
| 74 | + --> $DIR/const_fn_ptr.rs:32:5 |
| 75 | + | |
| 76 | +LL | assert_eq!(Z, 4); |
| 77 | + | ^^^^^^^^^^^^^^^^^ |
| 78 | + | |
| 79 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 80 | + |
| 81 | +warning: skipping const checks |
| 82 | + --> $DIR/const_fn_ptr.rs:32:5 |
| 83 | + | |
| 84 | +LL | assert_eq!(Z, 4); |
| 85 | + | ^^^^^^^^^^^^^^^^^ |
| 86 | + | |
| 87 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 88 | + |
| 89 | +warning: skipping const checks |
| 90 | + --> $DIR/const_fn_ptr.rs:32:5 |
| 91 | + | |
| 92 | +LL | assert_eq!(Z, 4); |
| 93 | + | ^^^^^^^^^^^^^^^^^ |
| 94 | + | |
| 95 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 96 | + |
| 97 | +warning: skipping const checks |
| 98 | + --> $DIR/const_fn_ptr.rs:34:5 |
| 99 | + | |
| 100 | +LL | assert_eq!(z, 4); |
| 101 | + | ^^^^^^^^^^^^^^^^^ |
| 102 | + | |
| 103 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 104 | + |
| 105 | +warning: skipping const checks |
| 106 | + --> $DIR/const_fn_ptr.rs:34:5 |
| 107 | + | |
| 108 | +LL | assert_eq!(z, 4); |
| 109 | + | ^^^^^^^^^^^^^^^^^ |
| 110 | + | |
| 111 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 112 | + |
| 113 | +warning: skipping const checks |
| 114 | + --> $DIR/const_fn_ptr.rs:34:5 |
| 115 | + | |
| 116 | +LL | assert_eq!(z, 4); |
| 117 | + | ^^^^^^^^^^^^^^^^^ |
| 118 | + | |
| 119 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 120 | + |
| 121 | +warning: skipping const checks |
| 122 | + --> $DIR/const_fn_ptr.rs:36:5 |
| 123 | + | |
| 124 | +LL | assert_eq!(z, 4); |
| 125 | + | ^^^^^^^^^^^^^^^^^ |
| 126 | + | |
| 127 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 128 | + |
| 129 | +warning: skipping const checks |
| 130 | + --> $DIR/const_fn_ptr.rs:36:5 |
| 131 | + | |
| 132 | +LL | assert_eq!(z, 4); |
| 133 | + | ^^^^^^^^^^^^^^^^^ |
| 134 | + | |
| 135 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 136 | + |
| 137 | +warning: skipping const checks |
| 138 | + --> $DIR/const_fn_ptr.rs:36:5 |
| 139 | + | |
| 140 | +LL | assert_eq!(z, 4); |
| 141 | + | ^^^^^^^^^^^^^^^^^ |
| 142 | + | |
| 143 | + = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |
| 144 | + |
| 145 | +warning: constant `X_const` should have an upper case name |
| 146 | + --> $DIR/const_fn_ptr.rs:9:7 |
| 147 | + | |
| 148 | +LL | const X_const: fn(usize) -> usize = double_const; |
| 149 | + | ^^^^^^^ help: convert the identifier to upper case: `X_CONST` |
| 150 | + | |
| 151 | + = note: `#[warn(non_upper_case_globals)]` on by default |
| 152 | + |
0 commit comments