summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/single_char_lifetime_names.stderr
blob: 1438b3999dba85ad1b4ddc810854958fb0296dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
error: single-character lifetime names are likely uninformative
  --> $DIR/single_char_lifetime_names.rs:5:22
   |
LL | struct DiagnosticCtx<'a, 'b>
   |                      ^^
   |
   = note: `-D clippy::single-char-lifetime-names` implied by `-D warnings`
   = help: use a more informative name

error: single-character lifetime names are likely uninformative
  --> $DIR/single_char_lifetime_names.rs:5:26
   |
LL | struct DiagnosticCtx<'a, 'b>
   |                          ^^
   |
   = help: use a more informative name

error: single-character lifetime names are likely uninformative
  --> $DIR/single_char_lifetime_names.rs:14:6
   |
LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
   |      ^^
   |
   = help: use a more informative name

error: single-character lifetime names are likely uninformative
  --> $DIR/single_char_lifetime_names.rs:14:10
   |
LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
   |          ^^
   |
   = help: use a more informative name

error: single-character lifetime names are likely uninformative
  --> $DIR/single_char_lifetime_names.rs:34:15
   |
LL | fn split_once<'a>(base: &'a str, other: &'_ str) -> (&'a str, Option<&'a str>) {
   |               ^^
   |
   = help: use a more informative name

error: aborting due to 5 previous errors