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