1
1
error: single-character lifetime names are likely uninformative
2
- --> $DIR/single_char_lifetime_names.rs:3 :22
2
+ --> $DIR/single_char_lifetime_names.rs:4 :22
3
3
|
4
4
LL | struct DiagnosticCtx<'a, 'b>
5
5
| ^^
@@ -8,28 +8,36 @@ LL | struct DiagnosticCtx<'a, 'b>
8
8
= help: use a more informative name
9
9
10
10
error: single-character lifetime names are likely uninformative
11
- --> $DIR/single_char_lifetime_names.rs:3 :26
11
+ --> $DIR/single_char_lifetime_names.rs:4 :26
12
12
|
13
13
LL | struct DiagnosticCtx<'a, 'b>
14
14
| ^^
15
15
|
16
16
= help: use a more informative name
17
17
18
18
error: single-character lifetime names are likely uninformative
19
- --> $DIR/single_char_lifetime_names.rs:11 :6
19
+ --> $DIR/single_char_lifetime_names.rs:13 :6
20
20
|
21
21
LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
22
22
| ^^
23
23
|
24
24
= help: use a more informative name
25
25
26
26
error: single-character lifetime names are likely uninformative
27
- --> $DIR/single_char_lifetime_names.rs:11 :10
27
+ --> $DIR/single_char_lifetime_names.rs:13 :10
28
28
|
29
29
LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
30
30
| ^^
31
31
|
32
32
= help: use a more informative name
33
33
34
- error: aborting due to 4 previous errors
34
+ error: single-character lifetime names are likely uninformative
35
+ --> $DIR/single_char_lifetime_names.rs:33:15
36
+ |
37
+ LL | fn split_once<'a>(base: &'a str, other: &'_ str) -> (&'a str, Option<&'a str>) {
38
+ | ^^
39
+ |
40
+ = help: use a more informative name
41
+
42
+ error: aborting due to 5 previous errors
35
43
0 commit comments