rust/tests/ui/non_expressive_names.stderr

172 lines
4.4 KiB
Plaintext
Raw Normal View History

error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:28:9
|
2018-10-06 11:18:06 -05:00
28 | let bpple: i32;
| ^^^^^
|
= note: `-D clippy::similar-names` implied by `-D warnings`
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:26:9
|
2018-10-06 11:18:06 -05:00
26 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `b_pple`
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:28:9
|
2018-10-06 11:18:06 -05:00
28 | let bpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:30:9
|
2018-10-06 11:18:06 -05:00
30 | let cpple: i32;
| ^^^^^
|
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:26:9
|
2018-10-06 11:18:06 -05:00
26 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `c_pple`
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:30:9
|
2018-10-06 11:18:06 -05:00
30 | let cpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:55:9
|
2018-10-06 11:18:06 -05:00
55 | let bluby: i32;
| ^^^^^
|
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:54:9
|
2018-10-06 11:18:06 -05:00
54 | let blubx: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `blub_y`
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:55:9
|
2018-10-06 11:18:06 -05:00
55 | let bluby: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:60:9
|
2018-10-06 11:18:06 -05:00
60 | let coke: i32;
| ^^^^
|
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:58:9
|
2018-10-06 11:18:06 -05:00
58 | let cake: i32;
| ^^^^
error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:78:9
|
2018-10-06 11:18:06 -05:00
78 | let xyzeabc: i32;
| ^^^^^^^
|
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:76:9
|
2018-10-06 11:18:06 -05:00
76 | let xyz1abc: i32;
| ^^^^^^^
error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:82:9
|
2018-10-06 11:18:06 -05:00
82 | let parsee: i32;
| ^^^^^^
|
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:80:9
|
2018-10-06 11:18:06 -05:00
80 | let parser: i32;
| ^^^^^^
help: separate the discriminating character by an underscore like: `parse_e`
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:82:9
|
2018-10-06 11:18:06 -05:00
82 | let parsee: i32;
| ^^^^^^
error: binding's name is too similar to existing binding
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:96:16
|
2018-10-06 11:18:06 -05:00
96 | bpple: sprang } = unimplemented!();
| ^^^^^^
|
note: existing binding defined here
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:95:22
|
2018-10-06 11:18:06 -05:00
95 | let Foo { apple: spring,
| ^^^^^^
error: 5th binding whose name is just one char
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:130:17
|
2018-10-06 11:18:06 -05:00
130 | let e: i32;
| ^
|
= note: `-D clippy::many-single-char-names` implied by `-D warnings`
error: 5th binding whose name is just one char
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:133:17
|
2018-10-06 11:18:06 -05:00
133 | let e: i32;
| ^
error: 6th binding whose name is just one char
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:134:17
|
2018-10-06 11:18:06 -05:00
134 | let f: i32;
| ^
error: 5th binding whose name is just one char
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:139:13
|
2018-10-06 11:18:06 -05:00
139 | e => panic!(),
| ^
2017-11-03 15:54:33 -05:00
error: consider choosing a more descriptive name
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:149:9
|
2018-10-06 11:18:06 -05:00
149 | let _1 = 1; //~ERROR Consider a more descriptive name
| ^^
|
= note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`
2017-11-03 15:54:33 -05:00
error: consider choosing a more descriptive name
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:150:9
|
2018-10-06 11:18:06 -05:00
150 | let ____1 = 1; //~ERROR Consider a more descriptive name
| ^^^^^
2017-11-03 15:54:33 -05:00
error: consider choosing a more descriptive name
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:151:9
|
2018-10-06 11:18:06 -05:00
151 | let __1___2 = 12; //~ERROR Consider a more descriptive name
| ^^^^^^^
2018-02-02 00:49:47 -06:00
error: consider choosing a more descriptive name
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:171:13
2018-02-02 00:49:47 -06:00
|
2018-10-06 11:18:06 -05:00
171 | let _1 = 1;
2018-02-02 00:49:47 -06:00
| ^^
error: consider choosing a more descriptive name
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:172:13
2018-02-02 00:49:47 -06:00
|
2018-10-06 11:18:06 -05:00
172 | let ____1 = 1;
2018-02-02 00:49:47 -06:00
| ^^^^^
error: consider choosing a more descriptive name
2018-10-06 11:18:06 -05:00
--> $DIR/non_expressive_names.rs:173:13
2018-02-02 00:49:47 -06:00
|
2018-10-06 11:18:06 -05:00
173 | let __1___2 = 12;
2018-02-02 00:49:47 -06:00
| ^^^^^^^
2018-08-15 01:11:07 -05:00
error: aborting due to 17 previous errors
2018-01-16 10:06:27 -06:00