fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 2 --> $DIR/method-call-lifetime-args-lint-fail.rs:23:14 3 | 4LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {} 5 | -- the late bound lifetime parameter is introduced here 6... 7LL | S.late::<'static>(&0, &0); 8 | ^^^^^^^ 9 | 10note: the lint level is defined here 11 --> $DIR/method-call-lifetime-args-lint-fail.rs:1:9 12 | 13LL | #![deny(late_bound_lifetime_arguments)] 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 16 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 17 18error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 19 --> $DIR/method-call-lifetime-args-lint-fail.rs:26:14 20 | 21LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {} 22 | -- the late bound lifetime parameter is introduced here 23... 24LL | S.late::<'static, 'static>(&0, &0); 25 | ^^^^^^^ 26 | 27 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 28 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 29 30error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 31 --> $DIR/method-call-lifetime-args-lint-fail.rs:29:14 32 | 33LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {} 34 | -- the late bound lifetime parameter is introduced here 35... 36LL | S.late::<'static, 'static, 'static>(&0, &0); 37 | ^^^^^^^ 38 | 39 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 40 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 41 42error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 43 --> $DIR/method-call-lifetime-args-lint-fail.rs:33:20 44 | 45LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} } 46 | -- the late bound lifetime parameter is introduced here 47... 48LL | S.late_early::<'static>(&0); 49 | ^^^^^^^ 50 | 51 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 52 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 53 54error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 55 --> $DIR/method-call-lifetime-args-lint-fail.rs:36:20 56 | 57LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} } 58 | -- the late bound lifetime parameter is introduced here 59... 60LL | S.late_early::<'static, 'static>(&0); 61 | ^^^^^^^ 62 | 63 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 64 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 65 66error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 67 --> $DIR/method-call-lifetime-args-lint-fail.rs:39:20 68 | 69LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} } 70 | -- the late bound lifetime parameter is introduced here 71... 72LL | S.late_early::<'static, 'static, 'static>(&0); 73 | ^^^^^^^ 74 | 75 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 76 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 77 78error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 79 --> $DIR/method-call-lifetime-args-lint-fail.rs:44:23 80 | 81LL | fn late_implicit(self, _: &u8, _: &u8) {} 82 | - the late bound lifetime parameter is introduced here 83... 84LL | S.late_implicit::<'static>(&0, &0); 85 | ^^^^^^^ 86 | 87 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 88 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 89 90error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 91 --> $DIR/method-call-lifetime-args-lint-fail.rs:47:23 92 | 93LL | fn late_implicit(self, _: &u8, _: &u8) {} 94 | - the late bound lifetime parameter is introduced here 95... 96LL | S.late_implicit::<'static, 'static>(&0, &0); 97 | ^^^^^^^ 98 | 99 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 100 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 101 102error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 103 --> $DIR/method-call-lifetime-args-lint-fail.rs:50:23 104 | 105LL | fn late_implicit(self, _: &u8, _: &u8) {} 106 | - the late bound lifetime parameter is introduced here 107... 108LL | S.late_implicit::<'static, 'static, 'static>(&0, &0); 109 | ^^^^^^^ 110 | 111 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 112 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 113 114error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 115 --> $DIR/method-call-lifetime-args-lint-fail.rs:54:29 116 | 117LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} } 118 | - the late bound lifetime parameter is introduced here 119... 120LL | S.late_implicit_early::<'static>(&0); 121 | ^^^^^^^ 122 | 123 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 124 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 125 126error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 127 --> $DIR/method-call-lifetime-args-lint-fail.rs:57:29 128 | 129LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} } 130 | - the late bound lifetime parameter is introduced here 131... 132LL | S.late_implicit_early::<'static, 'static>(&0); 133 | ^^^^^^^ 134 | 135 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 136 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 137 138error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 139 --> $DIR/method-call-lifetime-args-lint-fail.rs:60:29 140 | 141LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} } 142 | - the late bound lifetime parameter is introduced here 143... 144LL | S.late_implicit_early::<'static, 'static, 'static>(&0); 145 | ^^^^^^^ 146 | 147 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 148 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 149 150error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 151 --> $DIR/method-call-lifetime-args-lint-fail.rs:69:21 152 | 153LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} } 154 | -- the late bound lifetime parameter is introduced here 155... 156LL | S::late_early::<'static>(S, &0); 157 | ^^^^^^^ 158 | 159 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 160 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 161 162error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 163 --> $DIR/method-call-lifetime-args-lint-fail.rs:73:30 164 | 165LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} } 166 | - the late bound lifetime parameter is introduced here 167... 168LL | S::late_implicit_early::<'static>(S, &0); 169 | ^^^^^^^ 170 | 171 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 172 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 173 174error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present 175 --> $DIR/method-call-lifetime-args-lint-fail.rs:82:9 176 | 177LL | fn f<'early, 'late, T: 'early>() {} 178 | ----- the late bound lifetime parameter is introduced here 179... 180LL | f::<'static, u8>; 181 | ^^^^^^^ 182 | 183 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! 184 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868> 185 186error: aborting due to 15 previous errors 187