rust/tests/ui/non_expressive_names.stderr

149 lines
3.8 KiB
Plaintext
Raw Normal View History

error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:29:9
|
2017-02-08 07:58:07 -06:00
29 | let bpple: i32;
| ^^^^^
|
note: lint level defined here
--> $DIR/non_expressive_names.rs:3:16
|
3 | #![deny(clippy,similar_names)]
| ^^^^^^^^^^^^^
note: existing binding defined here
--> $DIR/non_expressive_names.rs:27:9
|
2017-02-08 07:58:07 -06:00
27 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `b_pple`
--> $DIR/non_expressive_names.rs:29:9
|
2017-02-08 07:58:07 -06:00
29 | let bpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:31:9
|
2017-02-08 07:58:07 -06:00
31 | let cpple: i32;
| ^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:27:9
|
2017-02-08 07:58:07 -06:00
27 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `c_pple`
--> $DIR/non_expressive_names.rs:31:9
|
2017-02-08 07:58:07 -06:00
31 | let cpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:56:9
|
2017-02-08 07:58:07 -06:00
56 | let bluby: i32;
| ^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:55:9
|
2017-02-08 07:58:07 -06:00
55 | let blubx: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `blub_y`
--> $DIR/non_expressive_names.rs:56:9
|
2017-02-08 07:58:07 -06:00
56 | let bluby: i32;
| ^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:61:9
|
2017-02-08 07:58:07 -06:00
61 | let coke: i32;
| ^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:59:9
|
2017-02-08 07:58:07 -06:00
59 | let cake: i32;
| ^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:79:9
|
2017-02-08 07:58:07 -06:00
79 | let xyzeabc: i32;
| ^^^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:77:9
|
2017-02-08 07:58:07 -06:00
77 | let xyz1abc: i32;
| ^^^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:83:9
|
2017-02-08 07:58:07 -06:00
83 | let parsee: i32;
| ^^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:81:9
|
2017-02-08 07:58:07 -06:00
81 | let parser: i32;
| ^^^^^^
help: separate the discriminating character by an underscore like: `parse_e`
--> $DIR/non_expressive_names.rs:83:9
|
2017-02-08 07:58:07 -06:00
83 | let parsee: i32;
| ^^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:97:16
|
2017-02-08 07:58:07 -06:00
97 | bpple: sprang } = unimplemented!();
| ^^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:96:22
|
2017-02-08 07:58:07 -06:00
96 | let Foo { apple: spring,
| ^^^^^^
error: 5th binding whose name is just one char
--> $DIR/non_expressive_names.rs:131:17
|
2017-02-08 07:58:07 -06:00
131 | let e: i32;
| ^
|
= 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
--> $DIR/non_expressive_names.rs:135:17
|
2017-02-08 07:58:07 -06:00
135 | let e: i32;
| ^
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
error: 6th binding whose name is just one char
--> $DIR/non_expressive_names.rs:137:17
|
2017-02-08 07:58:07 -06:00
137 | let f: i32;
| ^
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
error: 5th binding whose name is just one char
--> $DIR/non_expressive_names.rs:142:13
|
2017-02-08 07:58:07 -06:00
142 | e => panic!(),
| ^
|
= note: #[deny(many_single_char_names)] implied by #[deny(clippy)]
error: aborting due to 11 previous errors