2017-02-07 20:05:30 +00:00
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:18:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
18 | let bpple: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/non_expressive_names.rs:3:16
|
|
|
|
|
|
|
|
|
3 | #![deny(clippy,similar_names)]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:16:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
16 | let apple: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
help: separate the discriminating character by an underscore like: `b_pple`
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:18:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
18 | let bpple: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:20:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
20 | let cpple: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:16:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
16 | let apple: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
help: separate the discriminating character by an underscore like: `c_pple`
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:20:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
20 | let cpple: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:45:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
45 | let bluby: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:44:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
44 | let blubx: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
help: separate the discriminating character by an underscore like: `blub_y`
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:45:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
45 | let bluby: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:50:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
50 | let coke: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:48:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
48 | let cake: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:68:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
68 | let xyzeabc: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:66:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
66 | let xyz1abc: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:72:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
72 | let parsee: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:70:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
70 | let parser: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
help: separate the discriminating character by an underscore like: `parse_e`
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:72:9
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
72 | let parsee: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: binding's name is too similar to existing binding
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:86:16
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
86 | bpple: sprang } = unimplemented!();
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
note: existing binding defined here
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:85:22
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
85 | let Foo { apple: spring,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: 5th binding whose name is just one char
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:120:17
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
120 | let e: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/non_expressive_names.rs:3:9
|
|
|
|
|
|
|
|
|
3 | #![deny(clippy,similar_names)]
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: 5th binding whose name is just one char
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:123:17
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
123 | let e: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
|
|
|
|
|
|
|
|
error: 6th binding whose name is just one char
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:124:17
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
124 | let f: i32;
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
|
|
|
|
|
|
|
|
error: 5th binding whose name is just one char
|
2017-05-11 14:28:34 +00:00
|
|
|
--> $DIR/non_expressive_names.rs:129:13
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 14:28:34 +00:00
|
|
|
129 | e => panic!(),
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
|
|
|
|
|
|
|
|
error: aborting due to 11 previous errors
|
|
|
|
|