1 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
2 --> $DIR/method-call-lifetime-args-lint-fail.rs:23:14
4 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
5 | -- the late bound lifetime parameter is introduced here
7 LL | S.late::<'static>(&0, &0);
10 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11 = note: for more information, see issue #42868 <https://github.com/rust-lang/rust/issues/42868>
12 note: the lint level is defined here
13 --> $DIR/method-call-lifetime-args-lint-fail.rs:1:9
15 LL | #![deny(late_bound_lifetime_arguments)]
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
19 --> $DIR/method-call-lifetime-args-lint-fail.rs:26:14
21 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
22 | -- the late bound lifetime parameter is introduced here
24 LL | S.late::<'static, 'static>(&0, &0);
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>
30 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
31 --> $DIR/method-call-lifetime-args-lint-fail.rs:29:14
33 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
34 | -- the late bound lifetime parameter is introduced here
36 LL | S.late::<'static, 'static, 'static>(&0, &0);
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>
42 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
43 --> $DIR/method-call-lifetime-args-lint-fail.rs:33:20
45 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
46 | -- the late bound lifetime parameter is introduced here
48 LL | S.late_early::<'static>(&0);
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>
54 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
55 --> $DIR/method-call-lifetime-args-lint-fail.rs:36:20
57 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
58 | -- the late bound lifetime parameter is introduced here
60 LL | S.late_early::<'static, 'static>(&0);
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>
66 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
67 --> $DIR/method-call-lifetime-args-lint-fail.rs:39:20
69 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
70 | -- the late bound lifetime parameter is introduced here
72 LL | S.late_early::<'static, 'static, 'static>(&0);
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>
78 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
79 --> $DIR/method-call-lifetime-args-lint-fail.rs:44:23
81 LL | fn late_implicit(self, _: &u8, _: &u8) {}
82 | - the late bound lifetime parameter is introduced here
84 LL | S.late_implicit::<'static>(&0, &0);
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>
90 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
91 --> $DIR/method-call-lifetime-args-lint-fail.rs:47:23
93 LL | fn late_implicit(self, _: &u8, _: &u8) {}
94 | - the late bound lifetime parameter is introduced here
96 LL | S.late_implicit::<'static, 'static>(&0, &0);
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>
102 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
103 --> $DIR/method-call-lifetime-args-lint-fail.rs:50:23
105 LL | fn late_implicit(self, _: &u8, _: &u8) {}
106 | - the late bound lifetime parameter is introduced here
108 LL | S.late_implicit::<'static, 'static, 'static>(&0, &0);
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>
114 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
115 --> $DIR/method-call-lifetime-args-lint-fail.rs:54:29
117 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
118 | - the late bound lifetime parameter is introduced here
120 LL | S.late_implicit_early::<'static>(&0);
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>
126 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
127 --> $DIR/method-call-lifetime-args-lint-fail.rs:57:29
129 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
130 | - the late bound lifetime parameter is introduced here
132 LL | S.late_implicit_early::<'static, 'static>(&0);
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>
138 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
139 --> $DIR/method-call-lifetime-args-lint-fail.rs:60:29
141 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
142 | - the late bound lifetime parameter is introduced here
144 LL | S.late_implicit_early::<'static, 'static, 'static>(&0);
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>
150 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
151 --> $DIR/method-call-lifetime-args-lint-fail.rs:69:21
153 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
154 | -- the late bound lifetime parameter is introduced here
156 LL | S::late_early::<'static>(S, &0);
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>
162 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
163 --> $DIR/method-call-lifetime-args-lint-fail.rs:73:30
165 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
166 | - the late bound lifetime parameter is introduced here
168 LL | S::late_implicit_early::<'static>(S, &0);
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>
174 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
175 --> $DIR/method-call-lifetime-args-lint-fail.rs:82:9
177 LL | fn f<'early, 'late, T: 'early>() {}
178 | ----- the late bound lifetime parameter is introduced here
180 LL | f::<'static, u8>;
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>
186 error: aborting due to 15 previous errors