fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1warning: skipping const checks 2 --> $DIR/const_fn_ptr.rs:25:5 3 | 4LL | 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 9warning: skipping const checks 10 --> $DIR/const_fn_ptr.rs:25:5 11 | 12LL | 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 17warning: skipping const checks 18 --> $DIR/const_fn_ptr.rs:25:5 19 | 20LL | 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 25warning: skipping const checks 26 --> $DIR/const_fn_ptr.rs:27:5 27 | 28LL | 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 33warning: skipping const checks 34 --> $DIR/const_fn_ptr.rs:27:5 35 | 36LL | 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 41warning: skipping const checks 42 --> $DIR/const_fn_ptr.rs:27:5 43 | 44LL | 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 49warning: skipping const checks 50 --> $DIR/const_fn_ptr.rs:29:5 51 | 52LL | 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 57warning: skipping const checks 58 --> $DIR/const_fn_ptr.rs:29:5 59 | 60LL | 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 65warning: skipping const checks 66 --> $DIR/const_fn_ptr.rs:29:5 67 | 68LL | 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 73warning: skipping const checks 74 --> $DIR/const_fn_ptr.rs:32:5 75 | 76LL | 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 81warning: skipping const checks 82 --> $DIR/const_fn_ptr.rs:32:5 83 | 84LL | 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 89warning: skipping const checks 90 --> $DIR/const_fn_ptr.rs:32:5 91 | 92LL | 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 97warning: skipping const checks 98 --> $DIR/const_fn_ptr.rs:34:5 99 | 100LL | 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 105warning: skipping const checks 106 --> $DIR/const_fn_ptr.rs:34:5 107 | 108LL | 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 113warning: skipping const checks 114 --> $DIR/const_fn_ptr.rs:34:5 115 | 116LL | 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 121warning: skipping const checks 122 --> $DIR/const_fn_ptr.rs:36:5 123 | 124LL | 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 129warning: skipping const checks 130 --> $DIR/const_fn_ptr.rs:36:5 131 | 132LL | 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 137warning: skipping const checks 138 --> $DIR/const_fn_ptr.rs:36:5 139 | 140LL | 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 145warning: constant `X_const` should have an upper case name 146 --> $DIR/const_fn_ptr.rs:9:7 147 | 148LL | 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