]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/single_char_lifetime_names.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / single_char_lifetime_names.stderr
1 error: single-character lifetime names are likely uninformative
2 --> $DIR/single_char_lifetime_names.rs:5:22
3 |
4 LL | struct DiagnosticCtx<'a, 'b>
5 | ^^
6 |
7 = note: `-D clippy::single-char-lifetime-names` implied by `-D warnings`
8 = help: use a more informative name
9
10 error: single-character lifetime names are likely uninformative
11 --> $DIR/single_char_lifetime_names.rs:5:26
12 |
13 LL | struct DiagnosticCtx<'a, 'b>
14 | ^^
15 |
16 = help: use a more informative name
17
18 error: single-character lifetime names are likely uninformative
19 --> $DIR/single_char_lifetime_names.rs:14:6
20 |
21 LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
22 | ^^
23 |
24 = help: use a more informative name
25
26 error: single-character lifetime names are likely uninformative
27 --> $DIR/single_char_lifetime_names.rs:14:10
28 |
29 LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
30 | ^^
31 |
32 = help: use a more informative name
33
34 error: single-character lifetime names are likely uninformative
35 --> $DIR/single_char_lifetime_names.rs:34: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
43