2019-05-12 06:01:43 -05:00
|
|
|
error: 5 bindings with single-character names in scope
|
2024-05-26 21:39:23 -05:00
|
|
|
--> tests/ui/many_single_char_names.rs:5:9
|
2019-05-12 06:01:43 -05:00
|
|
|
|
|
|
|
|
LL | let a: i32;
|
|
|
|
| ^
|
2023-08-24 14:32:12 -05:00
|
|
|
...
|
2019-05-12 06:01:43 -05:00
|
|
|
LL | let (b, c, d): (i32, i64, i16);
|
|
|
|
| ^ ^ ^
|
|
|
|
...
|
|
|
|
LL | let e: i32;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::many-single-char-names` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::many_single_char_names)]`
|
2019-05-12 06:01:43 -05:00
|
|
|
|
|
|
|
error: 6 bindings with single-character names in scope
|
2024-05-26 21:39:23 -05:00
|
|
|
--> tests/ui/many_single_char_names.rs:5:9
|
2019-05-12 06:01:43 -05:00
|
|
|
|
|
|
|
|
LL | let a: i32;
|
|
|
|
| ^
|
2023-08-24 14:32:12 -05:00
|
|
|
...
|
2019-05-12 06:01:43 -05:00
|
|
|
LL | let (b, c, d): (i32, i64, i16);
|
|
|
|
| ^ ^ ^
|
|
|
|
...
|
|
|
|
LL | let e: i32;
|
|
|
|
| ^
|
|
|
|
LL | let f: i32;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: 5 bindings with single-character names in scope
|
2024-05-26 21:39:23 -05:00
|
|
|
--> tests/ui/many_single_char_names.rs:5:9
|
2019-05-12 06:01:43 -05:00
|
|
|
|
|
|
|
|
LL | let a: i32;
|
|
|
|
| ^
|
2023-08-24 14:32:12 -05:00
|
|
|
...
|
2019-05-12 06:01:43 -05:00
|
|
|
LL | let (b, c, d): (i32, i64, i16);
|
|
|
|
| ^ ^ ^
|
|
|
|
...
|
|
|
|
LL | e => panic!(),
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: 8 bindings with single-character names in scope
|
2024-05-26 21:39:23 -05:00
|
|
|
--> tests/ui/many_single_char_names.rs:34:13
|
2019-05-12 06:01:43 -05:00
|
|
|
|
|
|
|
|
LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}
|
|
|
|
| ^ ^ ^ ^ ^ ^ ^ ^
|
|
|
|
|
|
|
|
error: 8 bindings with single-character names in scope
|
2024-05-26 21:39:23 -05:00
|
|
|
--> tests/ui/many_single_char_names.rs:38:10
|
2019-05-12 06:01:43 -05:00
|
|
|
|
|
2019-09-25 06:16:25 -05:00
|
|
|
LL | let (a, b, c, d, e, f, g, h): (bool, bool, bool, bool, bool, bool, bool, bool) = unimplemented!();
|
2019-05-12 06:01:43 -05:00
|
|
|
| ^ ^ ^ ^ ^ ^ ^ ^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|