1 error[E0107]: this associated function takes 2 lifetime arguments but 1 lifetime argument was supplied
2 --> $DIR/method-call-lifetime-args-fail.rs:16:7
4 LL | S.early::<'static>();
5 | ^^^^^ ------- supplied 1 lifetime argument
7 | expected 2 lifetime arguments
9 note: associated function defined here, with 2 lifetime parameters: `'a`, `'b`
10 --> $DIR/method-call-lifetime-args-fail.rs:6:8
12 LL | fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
14 help: add missing lifetime argument
16 LL | S.early::<'static, 'b>();
19 error[E0107]: this associated function takes 2 lifetime arguments but 3 lifetime arguments were supplied
20 --> $DIR/method-call-lifetime-args-fail.rs:18:7
22 LL | S.early::<'static, 'static, 'static>();
23 | ^^^^^ ------- help: remove this lifetime argument
25 | expected 2 lifetime arguments
27 note: associated function defined here, with 2 lifetime parameters: `'a`, `'b`
28 --> $DIR/method-call-lifetime-args-fail.rs:6:8
30 LL | fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
33 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
34 --> $DIR/method-call-lifetime-args-fail.rs:27:15
36 LL | S::late::<'static>(S, &0, &0);
39 note: the late bound lifetime parameter is introduced here
40 --> $DIR/method-call-lifetime-args-fail.rs:4:13
42 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
45 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
46 --> $DIR/method-call-lifetime-args-fail.rs:29:15
48 LL | S::late::<'static, 'static>(S, &0, &0);
51 note: the late bound lifetime parameter is introduced here
52 --> $DIR/method-call-lifetime-args-fail.rs:4:13
54 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
57 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
58 --> $DIR/method-call-lifetime-args-fail.rs:31:15
60 LL | S::late::<'static, 'static, 'static>(S, &0, &0);
63 note: the late bound lifetime parameter is introduced here
64 --> $DIR/method-call-lifetime-args-fail.rs:4:13
66 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
69 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
70 --> $DIR/method-call-lifetime-args-fail.rs:34:21
72 LL | S::late_early::<'static, 'static>(S, &0);
75 note: the late bound lifetime parameter is introduced here
76 --> $DIR/method-call-lifetime-args-fail.rs:7:19
78 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
81 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
82 --> $DIR/method-call-lifetime-args-fail.rs:36:21
84 LL | S::late_early::<'static, 'static, 'static>(S, &0);
87 note: the late bound lifetime parameter is introduced here
88 --> $DIR/method-call-lifetime-args-fail.rs:7:19
90 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
93 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
94 --> $DIR/method-call-lifetime-args-fail.rs:40:24
96 LL | S::late_implicit::<'static>(S, &0, &0);
99 note: the late bound lifetime parameter is introduced here
100 --> $DIR/method-call-lifetime-args-fail.rs:5:31
102 LL | fn late_implicit(self, _: &u8, _: &u8) {}
105 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
106 --> $DIR/method-call-lifetime-args-fail.rs:42:24
108 LL | S::late_implicit::<'static, 'static>(S, &0, &0);
111 note: the late bound lifetime parameter is introduced here
112 --> $DIR/method-call-lifetime-args-fail.rs:5:31
114 LL | fn late_implicit(self, _: &u8, _: &u8) {}
117 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
118 --> $DIR/method-call-lifetime-args-fail.rs:44:24
120 LL | S::late_implicit::<'static, 'static, 'static>(S, &0, &0);
123 note: the late bound lifetime parameter is introduced here
124 --> $DIR/method-call-lifetime-args-fail.rs:5:31
126 LL | fn late_implicit(self, _: &u8, _: &u8) {}
129 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
130 --> $DIR/method-call-lifetime-args-fail.rs:47:30
132 LL | S::late_implicit_early::<'static, 'static>(S, &0);
135 note: the late bound lifetime parameter is introduced here
136 --> $DIR/method-call-lifetime-args-fail.rs:8:41
138 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
141 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
142 --> $DIR/method-call-lifetime-args-fail.rs:49:30
144 LL | S::late_implicit_early::<'static, 'static, 'static>(S, &0);
147 note: the late bound lifetime parameter is introduced here
148 --> $DIR/method-call-lifetime-args-fail.rs:8:41
150 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
153 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
154 --> $DIR/method-call-lifetime-args-fail.rs:52:35
156 LL | S::late_implicit_self_early::<'static, 'static>(&S);
159 note: the late bound lifetime parameter is introduced here
160 --> $DIR/method-call-lifetime-args-fail.rs:9:37
162 LL | fn late_implicit_self_early<'b>(&self) -> &'b u8 { loop {} }
165 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
166 --> $DIR/method-call-lifetime-args-fail.rs:54:35
168 LL | S::late_implicit_self_early::<'static, 'static, 'static>(&S);
171 note: the late bound lifetime parameter is introduced here
172 --> $DIR/method-call-lifetime-args-fail.rs:9:37
174 LL | fn late_implicit_self_early<'b>(&self) -> &'b u8 { loop {} }
177 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
178 --> $DIR/method-call-lifetime-args-fail.rs:57:28
180 LL | S::late_unused_early::<'static, 'static>(S);
183 note: the late bound lifetime parameter is introduced here
184 --> $DIR/method-call-lifetime-args-fail.rs:10:26
186 LL | fn late_unused_early<'a, 'b>(self) -> &'b u8 { loop {} }
189 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
190 --> $DIR/method-call-lifetime-args-fail.rs:59:28
192 LL | S::late_unused_early::<'static, 'static, 'static>(S);
195 note: the late bound lifetime parameter is introduced here
196 --> $DIR/method-call-lifetime-args-fail.rs:10:26
198 LL | fn late_unused_early<'a, 'b>(self) -> &'b u8 { loop {} }
201 error[E0107]: this associated function takes 2 lifetime arguments but 1 lifetime argument was supplied
202 --> $DIR/method-call-lifetime-args-fail.rs:63:8
204 LL | S::early::<'static>(S);
205 | ^^^^^ ------- supplied 1 lifetime argument
207 | expected 2 lifetime arguments
209 note: associated function defined here, with 2 lifetime parameters: `'a`, `'b`
210 --> $DIR/method-call-lifetime-args-fail.rs:6:8
212 LL | fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
214 help: add missing lifetime argument
216 LL | S::early::<'static, 'b>(S);
219 error[E0107]: this associated function takes 2 lifetime arguments but 3 lifetime arguments were supplied
220 --> $DIR/method-call-lifetime-args-fail.rs:65:8
222 LL | S::early::<'static, 'static, 'static>(S);
223 | ^^^^^ ------- help: remove this lifetime argument
225 | expected 2 lifetime arguments
227 note: associated function defined here, with 2 lifetime parameters: `'a`, `'b`
228 --> $DIR/method-call-lifetime-args-fail.rs:6:8
230 LL | fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
233 error: aborting due to 18 previous errors
235 For more information about this error, try `rustc --explain E0107`.