@@ -30,7 +30,7 @@ note: method defined here, with 2 lifetime parameters: `'a`, `'b`
3030LL |     fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
3131   |        ^^^^^ --  --
3232
33- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
33+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
3434  --> $DIR/method-call-lifetime-args-fail.rs:27:15
3535   |
3636LL |     S::late::<'static>(S, &0, &0);
@@ -42,7 +42,7 @@ note: the late bound lifetime parameter is introduced here
4242LL |     fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
4343   |             ^^
4444
45- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
45+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
4646  --> $DIR/method-call-lifetime-args-fail.rs:29:15
4747   |
4848LL |     S::late::<'static, 'static>(S, &0, &0);
@@ -54,7 +54,7 @@ note: the late bound lifetime parameter is introduced here
5454LL |     fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
5555   |             ^^
5656
57- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
57+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
5858  --> $DIR/method-call-lifetime-args-fail.rs:31:15
5959   |
6060LL |     S::late::<'static, 'static, 'static>(S, &0, &0);
@@ -66,7 +66,7 @@ note: the late bound lifetime parameter is introduced here
6666LL |     fn late<'a, 'b>(self, _: &'a u8, _: &'b u8) {}
6767   |             ^^
6868
69- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
69+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
7070  --> $DIR/method-call-lifetime-args-fail.rs:34:21
7171   |
7272LL |     S::late_early::<'static, 'static>(S, &0);
@@ -78,7 +78,7 @@ note: the late bound lifetime parameter is introduced here
7878LL |     fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
7979   |                   ^^
8080
81- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
81+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
8282  --> $DIR/method-call-lifetime-args-fail.rs:36:21
8383   |
8484LL |     S::late_early::<'static, 'static, 'static>(S, &0);
@@ -90,7 +90,7 @@ note: the late bound lifetime parameter is introduced here
9090LL |     fn late_early<'a, 'b>(self, _: &'a u8) -> &'b u8 { loop {} }
9191   |                   ^^
9292
93- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
93+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
9494  --> $DIR/method-call-lifetime-args-fail.rs:40:24
9595   |
9696LL |     S::late_implicit::<'static>(S, &0, &0);
@@ -102,7 +102,7 @@ note: the late bound lifetime parameter is introduced here
102102LL |     fn late_implicit(self, _: &u8, _: &u8) {}
103103   |                               ^
104104
105- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
105+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
106106  --> $DIR/method-call-lifetime-args-fail.rs:42:24
107107   |
108108LL |     S::late_implicit::<'static, 'static>(S, &0, &0);
@@ -114,7 +114,7 @@ note: the late bound lifetime parameter is introduced here
114114LL |     fn late_implicit(self, _: &u8, _: &u8) {}
115115   |                               ^
116116
117- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
117+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
118118  --> $DIR/method-call-lifetime-args-fail.rs:44:24
119119   |
120120LL |     S::late_implicit::<'static, 'static, 'static>(S, &0, &0);
@@ -126,7 +126,7 @@ note: the late bound lifetime parameter is introduced here
126126LL |     fn late_implicit(self, _: &u8, _: &u8) {}
127127   |                               ^
128128
129- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
129+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
130130  --> $DIR/method-call-lifetime-args-fail.rs:47:30
131131   |
132132LL |     S::late_implicit_early::<'static, 'static>(S, &0);
@@ -138,7 +138,7 @@ note: the late bound lifetime parameter is introduced here
138138LL |     fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
139139   |                                         ^
140140
141- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
141+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
142142  --> $DIR/method-call-lifetime-args-fail.rs:49:30
143143   |
144144LL |     S::late_implicit_early::<'static, 'static, 'static>(S, &0);
@@ -150,7 +150,7 @@ note: the late bound lifetime parameter is introduced here
150150LL |     fn late_implicit_early<'b>(self, _: &u8) -> &'b u8 { loop {} }
151151   |                                         ^
152152
153- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
153+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
154154  --> $DIR/method-call-lifetime-args-fail.rs:52:35
155155   |
156156LL |     S::late_implicit_self_early::<'static, 'static>(&S);
@@ -162,7 +162,7 @@ note: the late bound lifetime parameter is introduced here
162162LL |     fn late_implicit_self_early<'b>(&self) -> &'b u8 { loop {} }
163163   |                                     ^
164164
165- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
165+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
166166  --> $DIR/method-call-lifetime-args-fail.rs:54:35
167167   |
168168LL |     S::late_implicit_self_early::<'static, 'static, 'static>(&S);
@@ -174,7 +174,7 @@ note: the late bound lifetime parameter is introduced here
174174LL |     fn late_implicit_self_early<'b>(&self) -> &'b u8 { loop {} }
175175   |                                     ^
176176
177- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
177+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
178178  --> $DIR/method-call-lifetime-args-fail.rs:57:28
179179   |
180180LL |     S::late_unused_early::<'static, 'static>(S);
@@ -186,7 +186,7 @@ note: the late bound lifetime parameter is introduced here
186186LL |     fn late_unused_early<'a, 'b>(self) -> &'b u8 { loop {} }
187187   |                          ^^
188188
189- error: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
189+ error[E0794] : cannot specify lifetime arguments explicitly if late bound lifetime parameters are present
190190  --> $DIR/method-call-lifetime-args-fail.rs:59:28
191191   |
192192LL |     S::late_unused_early::<'static, 'static, 'static>(S);
@@ -232,4 +232,5 @@ LL |     fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
232232
233233error: aborting due to 18 previous errors
234234
235- For more information about this error, try `rustc --explain E0107`.
235+ Some errors have detailed explanations: E0107, E0794.
236+ For more information about an error, try `rustc --explain E0107`.
0 commit comments