1 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
2 --> $DIR/method-call-lifetime-args-fail.rs:16:7
4 LL | S.early::<'static>();
5 | ^^^^^ expected 2 lifetime arguments
7 error[E0107]: wrong number of lifetime arguments: expected 2, found 3
8 --> $DIR/method-call-lifetime-args-fail.rs:18:33
10 LL | S.early::<'static, 'static, 'static>();
11 | ^^^^^^^ unexpected lifetime argument
13 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
14 --> $DIR/method-call-lifetime-args-fail.rs:27:15
16 LL | S::late::<'static>(S, &0, &0);
19 note: the late bound lifetime parameter is introduced here
20 --> $DIR/method-call-lifetime-args-fail.rs:4:13
22 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
25 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
26 --> $DIR/method-call-lifetime-args-fail.rs:29:15
28 LL | S::late::<'static, 'static>(S, &0, &0);
31 note: the late bound lifetime parameter is introduced here
32 --> $DIR/method-call-lifetime-args-fail.rs:4:13
34 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
37 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
38 --> $DIR/method-call-lifetime-args-fail.rs:31:15
40 LL | S::late::<'static, 'static, 'static>(S, &0, &0);
43 note: the late bound lifetime parameter is introduced here
44 --> $DIR/method-call-lifetime-args-fail.rs:4:13
46 LL | fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
49 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
50 --> $DIR/method-call-lifetime-args-fail.rs:34:21
52 LL | S::late_early::<'static, 'static>(S, &0);
55 note: the late bound lifetime parameter is introduced here
56 --> $DIR/method-call-lifetime-args-fail.rs:7:19
58 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
61 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
62 --> $DIR/method-call-lifetime-args-fail.rs:36:21
64 LL | S::late_early::<'static, 'static, 'static>(S, &0);
67 note: the late bound lifetime parameter is introduced here
68 --> $DIR/method-call-lifetime-args-fail.rs:7:19
70 LL | fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
73 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
74 --> $DIR/method-call-lifetime-args-fail.rs:40:24
76 LL | S::late_implicit::<'static>(S, &0, &0);
79 note: the late bound lifetime parameter is introduced here
80 --> $DIR/method-call-lifetime-args-fail.rs:5:31
82 LL | fn late_implicit(self, _: &u8, _: &u8) {}
85 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
86 --> $DIR/method-call-lifetime-args-fail.rs:42:24
88 LL | S::late_implicit::<'static, 'static>(S, &0, &0);
91 note: the late bound lifetime parameter is introduced here
92 --> $DIR/method-call-lifetime-args-fail.rs:5:31
94 LL | fn late_implicit(self, _: &u8, _: &u8) {}
97 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
98 --> $DIR/method-call-lifetime-args-fail.rs:44:24
100 LL | S::late_implicit::<'static, 'static, 'static>(S, &0, &0);
103 note: the late bound lifetime parameter is introduced here
104 --> $DIR/method-call-lifetime-args-fail.rs:5:31
106 LL | fn late_implicit(self, _: &u8, _: &u8) {}
109 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
110 --> $DIR/method-call-lifetime-args-fail.rs:47:30
112 LL | S::late_implicit_early::<'static, 'static>(S, &0);
115 note: the late bound lifetime parameter is introduced here
116 --> $DIR/method-call-lifetime-args-fail.rs:8:41
118 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
121 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
122 --> $DIR/method-call-lifetime-args-fail.rs:49:30
124 LL | S::late_implicit_early::<'static, 'static, 'static>(S, &0);
127 note: the late bound lifetime parameter is introduced here
128 --> $DIR/method-call-lifetime-args-fail.rs:8:41
130 LL | fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
133 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
134 --> $DIR/method-call-lifetime-args-fail.rs:52:35
136 LL | S::late_implicit_self_early::<'static, 'static>(&S);
139 note: the late bound lifetime parameter is introduced here
140 --> $DIR/method-call-lifetime-args-fail.rs:9:37
142 LL | fn late_implicit_self_early<'b>(&self) -> &'b u8 { loop {} }
145 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
146 --> $DIR/method-call-lifetime-args-fail.rs:54:35
148 LL | S::late_implicit_self_early::<'static, 'static, 'static>(&S);
151 note: the late bound lifetime parameter is introduced here
152 --> $DIR/method-call-lifetime-args-fail.rs:9:37
154 LL | fn late_implicit_self_early<'b>(&self) -> &'b u8 { loop {} }
157 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
158 --> $DIR/method-call-lifetime-args-fail.rs:57:28
160 LL | S::late_unused_early::<'static, 'static>(S);
163 note: the late bound lifetime parameter is introduced here
164 --> $DIR/method-call-lifetime-args-fail.rs:10:26
166 LL | fn late_unused_early<'a, 'b>(self) -> &'b u8 { loop {} }
169 error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
170 --> $DIR/method-call-lifetime-args-fail.rs:59:28
172 LL | S::late_unused_early::<'static, 'static, 'static>(S);
175 note: the late bound lifetime parameter is introduced here
176 --> $DIR/method-call-lifetime-args-fail.rs:10:26
178 LL | fn late_unused_early<'a, 'b>(self) -> &'b u8 { loop {} }
181 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
182 --> $DIR/method-call-lifetime-args-fail.rs:63:5
184 LL | S::early::<'static>(S);
185 | ^^^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
187 error[E0107]: wrong number of lifetime arguments: expected 2, found 3
188 --> $DIR/method-call-lifetime-args-fail.rs:65:34
190 LL | S::early::<'static, 'static, 'static>(S);
191 | ^^^^^^^ unexpected lifetime argument
193 error: aborting due to 18 previous errors
195 For more information about this error, try `rustc --explain E0107`.