2022-01-13 06:18:19 -06:00
|
|
|
error: single-character lifetime names are likely uninformative
|
2022-05-05 09:12:52 -05:00
|
|
|
--> $DIR/single_char_lifetime_names.rs:5:22
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
LL | struct DiagnosticCtx<'a, 'b>
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= help: use a more informative name
|
2022-09-22 11:04:22 -05:00
|
|
|
= note: `-D clippy::single-char-lifetime-names` implied by `-D warnings`
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
error: single-character lifetime names are likely uninformative
|
2022-05-05 09:12:52 -05:00
|
|
|
--> $DIR/single_char_lifetime_names.rs:5:26
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
LL | struct DiagnosticCtx<'a, 'b>
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= help: use a more informative name
|
|
|
|
|
|
|
|
error: single-character lifetime names are likely uninformative
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/single_char_lifetime_names.rs:16:6
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= help: use a more informative name
|
|
|
|
|
|
|
|
error: single-character lifetime names are likely uninformative
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/single_char_lifetime_names.rs:16:10
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
LL | impl<'a, 'b> DiagnosticCtx<'a, 'b> {
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= help: use a more informative name
|
|
|
|
|
|
|
|
error: single-character lifetime names are likely uninformative
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/single_char_lifetime_names.rs:38:15
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|