]> git.lizzy.rs Git - rust.git/blob - tests/ui/non_expressive_names.stderr
Auto merge of #3925 - phansch:3741, r=flip1995
[rust.git] / tests / ui / non_expressive_names.stderr
1 error: 5 bindings with single-character names in scope
2   --> $DIR/non_expressive_names.rs:27:9
3    |
4 LL |     let a: i32;
5    |         ^
6 LL |     let (b, c, d): (i32, i64, i16);
7    |          ^  ^  ^
8 ...
9 LL |             let e: i32;
10    |                 ^
11    |
12    = note: `-D clippy::many-single-char-names` implied by `-D warnings`
13
14 error: 6 bindings with single-character names in scope
15   --> $DIR/non_expressive_names.rs:27:9
16    |
17 LL |     let a: i32;
18    |         ^
19 LL |     let (b, c, d): (i32, i64, i16);
20    |          ^  ^  ^
21 ...
22 LL |             let e: i32;
23    |                 ^
24 LL |             let f: i32;
25    |                 ^
26
27 error: 5 bindings with single-character names in scope
28   --> $DIR/non_expressive_names.rs:27:9
29    |
30 LL |     let a: i32;
31    |         ^
32 LL |     let (b, c, d): (i32, i64, i16);
33    |          ^  ^  ^
34 ...
35 LL |             e => panic!(),
36    |             ^
37
38 error: 8 bindings with single-character names in scope
39   --> $DIR/non_expressive_names.rs:52:13
40    |
41 LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}
42    |             ^       ^       ^       ^       ^       ^       ^       ^
43
44 error: 8 bindings with single-character names in scope
45   --> $DIR/non_expressive_names.rs:55:10
46    |
47 LL |     let (a, b, c, d, e, f, g, h) = unimplemented!();
48    |          ^  ^  ^  ^  ^  ^  ^  ^
49
50 error: consider choosing a more descriptive name
51   --> $DIR/non_expressive_names.rs:92:9
52    |
53 LL |     let _1 = 1; //~ERROR Consider a more descriptive name
54    |         ^^
55    |
56    = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`
57
58 error: consider choosing a more descriptive name
59   --> $DIR/non_expressive_names.rs:93:9
60    |
61 LL |     let ____1 = 1; //~ERROR Consider a more descriptive name
62    |         ^^^^^
63
64 error: consider choosing a more descriptive name
65   --> $DIR/non_expressive_names.rs:94:9
66    |
67 LL |     let __1___2 = 12; //~ERROR Consider a more descriptive name
68    |         ^^^^^^^
69
70 error: consider choosing a more descriptive name
71   --> $DIR/non_expressive_names.rs:114:13
72    |
73 LL |         let _1 = 1;
74    |             ^^
75
76 error: consider choosing a more descriptive name
77   --> $DIR/non_expressive_names.rs:115:13
78    |
79 LL |         let ____1 = 1;
80    |             ^^^^^
81
82 error: consider choosing a more descriptive name
83   --> $DIR/non_expressive_names.rs:116:13
84    |
85 LL |         let __1___2 = 12;
86    |             ^^^^^^^
87
88 error: aborting due to 11 previous errors
89