]> git.lizzy.rs Git - rust.git/blob - tests/ui/non_expressive_names.stderr
Merge pull request #3269 from rust-lang-nursery/relicense
[rust.git] / tests / ui / non_expressive_names.stderr
1 error: binding's name is too similar to existing binding
2   --> $DIR/non_expressive_names.rs:28:9
3    |
4 28 |     let bpple: i32;
5    |         ^^^^^
6    |
7    = note: `-D clippy::similar-names` implied by `-D warnings`
8 note: existing binding defined here
9   --> $DIR/non_expressive_names.rs:26:9
10    |
11 26 |     let apple: i32;
12    |         ^^^^^
13 help: separate the discriminating character by an underscore like: `b_pple`
14   --> $DIR/non_expressive_names.rs:28:9
15    |
16 28 |     let bpple: i32;
17    |         ^^^^^
18
19 error: binding's name is too similar to existing binding
20   --> $DIR/non_expressive_names.rs:30:9
21    |
22 30 |     let cpple: i32;
23    |         ^^^^^
24    |
25 note: existing binding defined here
26   --> $DIR/non_expressive_names.rs:26:9
27    |
28 26 |     let apple: i32;
29    |         ^^^^^
30 help: separate the discriminating character by an underscore like: `c_pple`
31   --> $DIR/non_expressive_names.rs:30:9
32    |
33 30 |     let cpple: i32;
34    |         ^^^^^
35
36 error: binding's name is too similar to existing binding
37   --> $DIR/non_expressive_names.rs:55:9
38    |
39 55 |     let bluby: i32;
40    |         ^^^^^
41    |
42 note: existing binding defined here
43   --> $DIR/non_expressive_names.rs:54:9
44    |
45 54 |     let blubx: i32;
46    |         ^^^^^
47 help: separate the discriminating character by an underscore like: `blub_y`
48   --> $DIR/non_expressive_names.rs:55:9
49    |
50 55 |     let bluby: i32;
51    |         ^^^^^
52
53 error: binding's name is too similar to existing binding
54   --> $DIR/non_expressive_names.rs:60:9
55    |
56 60 |     let coke: i32;
57    |         ^^^^
58    |
59 note: existing binding defined here
60   --> $DIR/non_expressive_names.rs:58:9
61    |
62 58 |     let cake: i32;
63    |         ^^^^
64
65 error: binding's name is too similar to existing binding
66   --> $DIR/non_expressive_names.rs:78:9
67    |
68 78 |     let xyzeabc: i32;
69    |         ^^^^^^^
70    |
71 note: existing binding defined here
72   --> $DIR/non_expressive_names.rs:76:9
73    |
74 76 |     let xyz1abc: i32;
75    |         ^^^^^^^
76
77 error: binding's name is too similar to existing binding
78   --> $DIR/non_expressive_names.rs:82:9
79    |
80 82 |     let parsee: i32;
81    |         ^^^^^^
82    |
83 note: existing binding defined here
84   --> $DIR/non_expressive_names.rs:80:9
85    |
86 80 |     let parser: i32;
87    |         ^^^^^^
88 help: separate the discriminating character by an underscore like: `parse_e`
89   --> $DIR/non_expressive_names.rs:82:9
90    |
91 82 |     let parsee: i32;
92    |         ^^^^^^
93
94 error: binding's name is too similar to existing binding
95   --> $DIR/non_expressive_names.rs:96:16
96    |
97 96 |         bpple: sprang } = unimplemented!();
98    |                ^^^^^^
99    |
100 note: existing binding defined here
101   --> $DIR/non_expressive_names.rs:95:22
102    |
103 95 |     let Foo { apple: spring,
104    |                      ^^^^^^
105
106 error: 5th binding whose name is just one char
107    --> $DIR/non_expressive_names.rs:130:17
108     |
109 130 |             let e: i32;
110     |                 ^
111     |
112     = note: `-D clippy::many-single-char-names` implied by `-D warnings`
113
114 error: 5th binding whose name is just one char
115    --> $DIR/non_expressive_names.rs:133:17
116     |
117 133 |             let e: i32;
118     |                 ^
119
120 error: 6th binding whose name is just one char
121    --> $DIR/non_expressive_names.rs:134:17
122     |
123 134 |             let f: i32;
124     |                 ^
125
126 error: 5th binding whose name is just one char
127    --> $DIR/non_expressive_names.rs:139:13
128     |
129 139 |             e => panic!(),
130     |             ^
131
132 error: consider choosing a more descriptive name
133    --> $DIR/non_expressive_names.rs:149:9
134     |
135 149 |     let _1 = 1; //~ERROR Consider a more descriptive name
136     |         ^^
137     |
138     = note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`
139
140 error: consider choosing a more descriptive name
141    --> $DIR/non_expressive_names.rs:150:9
142     |
143 150 |     let ____1 = 1; //~ERROR Consider a more descriptive name
144     |         ^^^^^
145
146 error: consider choosing a more descriptive name
147    --> $DIR/non_expressive_names.rs:151:9
148     |
149 151 |     let __1___2 = 12; //~ERROR Consider a more descriptive name
150     |         ^^^^^^^
151
152 error: consider choosing a more descriptive name
153    --> $DIR/non_expressive_names.rs:171:13
154     |
155 171 |         let _1 = 1;
156     |             ^^
157
158 error: consider choosing a more descriptive name
159    --> $DIR/non_expressive_names.rs:172:13
160     |
161 172 |         let ____1 = 1;
162     |             ^^^^^
163
164 error: consider choosing a more descriptive name
165    --> $DIR/non_expressive_names.rs:173:13
166     |
167 173 |         let __1___2 = 12;
168     |             ^^^^^^^
169
170 error: aborting due to 17 previous errors
171