rust-clippy/tests/ui/non_expressive_names.stderr

172 lines
4.4 KiB
Text
Raw Normal View History

error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:24:9
|
2018-12-10 05:27:19 +00:00
24 | let bpple: i32;
| ^^^^^
|
= note: `-D clippy::similar-names` implied by `-D warnings`
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:22:9
|
2018-12-10 05:27:19 +00:00
22 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `b_pple`
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:24:9
|
2018-12-10 05:27:19 +00:00
24 | let bpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:26:9
|
2018-12-10 05:27:19 +00:00
26 | let cpple: i32;
| ^^^^^
|
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:22:9
|
2018-12-10 05:27:19 +00:00
22 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `c_pple`
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:26:9
|
2018-12-10 05:27:19 +00:00
26 | let cpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:50:9
|
2018-12-10 05:27:19 +00:00
50 | let bluby: i32;
| ^^^^^
|
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:49:9
|
2018-12-10 05:27:19 +00:00
49 | let blubx: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `blub_y`
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:50:9
|
2018-12-10 05:27:19 +00:00
50 | let bluby: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:54:9
|
2018-12-10 05:27:19 +00:00
54 | let coke: i32;
| ^^^^
|
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:52:9
|
2018-12-10 05:27:19 +00:00
52 | let cake: i32;
| ^^^^
error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:72:9
|
2018-12-10 05:27:19 +00:00
72 | let xyzeabc: i32;
| ^^^^^^^
|
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:70:9
|
2018-12-10 05:27:19 +00:00
70 | let xyz1abc: i32;
| ^^^^^^^
error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:76:9
|
2018-12-10 05:27:19 +00:00
76 | let parsee: i32;
| ^^^^^^
|
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:74:9
|
2018-12-10 05:27:19 +00:00
74 | let parser: i32;
| ^^^^^^
help: separate the discriminating character by an underscore like: `parse_e`
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:76:9
|
2018-12-10 05:27:19 +00:00
76 | let parsee: i32;
| ^^^^^^
error: binding's name is too similar to existing binding
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:90:16
|
2018-12-10 05:27:19 +00:00
90 | bpple: sprang,
| ^^^^^^
|
note: existing binding defined here
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:89:16
|
2018-12-10 05:27:19 +00:00
89 | apple: spring,
| ^^^^^^
error: 5th binding whose name is just one char
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:125:17
|
2018-12-10 05:27:19 +00:00
125 | let e: i32;
| ^
|
= note: `-D clippy::many-single-char-names` implied by `-D warnings`
error: 5th binding whose name is just one char
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:128:17
|
2018-12-10 05:27:19 +00:00
128 | let e: i32;
| ^
error: 6th binding whose name is just one char
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:129:17
|
2018-12-10 05:27:19 +00:00
129 | let f: i32;
| ^
error: 5th binding whose name is just one char
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:133:13
|
2018-12-10 05:27:19 +00:00
133 | e => panic!(),
| ^
2017-11-03 20:54:33 +00:00
error: consider choosing a more descriptive name
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:143:9
|
2018-12-10 05:27:19 +00:00
143 | let _1 = 1; //~ERROR Consider a more descriptive name
| ^^
|
= note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`
2017-11-03 20:54:33 +00:00
error: consider choosing a more descriptive name
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:144:9
|
2018-12-10 05:27:19 +00:00
144 | let ____1 = 1; //~ERROR Consider a more descriptive name
| ^^^^^
2017-11-03 20:54:33 +00:00
error: consider choosing a more descriptive name
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:145:9
|
2018-12-10 05:27:19 +00:00
145 | let __1___2 = 12; //~ERROR Consider a more descriptive name
| ^^^^^^^
2018-02-02 06:49:47 +00:00
error: consider choosing a more descriptive name
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:165:13
2018-02-02 06:49:47 +00:00
|
2018-12-10 05:27:19 +00:00
165 | let _1 = 1;
2018-02-02 06:49:47 +00:00
| ^^
error: consider choosing a more descriptive name
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:166:13
2018-02-02 06:49:47 +00:00
|
2018-12-10 05:27:19 +00:00
166 | let ____1 = 1;
2018-02-02 06:49:47 +00:00
| ^^^^^
error: consider choosing a more descriptive name
2018-12-10 05:27:19 +00:00
--> $DIR/non_expressive_names.rs:167:13
2018-02-02 06:49:47 +00:00
|
2018-12-10 05:27:19 +00:00
167 | let __1___2 = 12;
2018-02-02 06:49:47 +00:00
| ^^^^^^^
2018-08-15 06:11:07 +00:00
error: aborting due to 17 previous errors
2018-01-16 16:06:27 +00:00