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
--> $DIR/non_expressive_names.rs:15:9
|
2018-12-27 16:57:55 +01:00
LL | let bpple: i32;
| ^^^^^
|
= note: `-D clippy::similar-names` implied by `-D warnings`
note: existing binding defined here
--> $DIR/non_expressive_names.rs:13:9
|
2018-12-27 16:57:55 +01:00
LL | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `b_pple`
--> $DIR/non_expressive_names.rs:15:9
|
2018-12-27 16:57:55 +01:00
LL | let bpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:17:9
|
2018-12-27 16:57:55 +01:00
LL | let cpple: i32;
| ^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:13:9
|
2018-12-27 16:57:55 +01:00
LL | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `c_pple`
--> $DIR/non_expressive_names.rs:17:9
|
2018-12-27 16:57:55 +01:00
LL | let cpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:41:9
|
2018-12-27 16:57:55 +01:00
LL | let bluby: i32;
| ^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:40:9
|
2018-12-27 16:57:55 +01:00
LL | let blubx: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `blub_y`
--> $DIR/non_expressive_names.rs:41:9
|
2018-12-27 16:57:55 +01:00
LL | let bluby: i32;
| ^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:45:9
|
2018-12-27 16:57:55 +01:00
LL | let coke: i32;
| ^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:43:9
|
2018-12-27 16:57:55 +01:00
LL | let cake: i32;
| ^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:63:9
|
2018-12-27 16:57:55 +01:00
LL | let xyzeabc: i32;
| ^^^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:61:9
|
2018-12-27 16:57:55 +01:00
LL | let xyz1abc: i32;
| ^^^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:67:9
|
2018-12-27 16:57:55 +01:00
LL | let parsee: i32;
| ^^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:65:9
|
2018-12-27 16:57:55 +01:00
LL | let parser: i32;
| ^^^^^^
help: separate the discriminating character by an underscore like: `parse_e`
--> $DIR/non_expressive_names.rs:67:9
|
2018-12-27 16:57:55 +01:00
LL | let parsee: i32;
| ^^^^^^
error: binding's name is too similar to existing binding
--> $DIR/non_expressive_names.rs:81:16
|
2018-12-27 16:57:55 +01:00
LL | bpple: sprang,
| ^^^^^^
|
note: existing binding defined here
--> $DIR/non_expressive_names.rs:80:16
|
2018-12-27 16:57:55 +01:00
LL | apple: spring,
2018-12-10 06:27:19 +01:00
| ^^^^^^
error: 5th binding whose name is just one char
--> $DIR/non_expressive_names.rs:116:17
2018-12-27 16:57:55 +01:00
|
LL | let e: i32;
| ^
|
= note: `-D clippy::many-single-char-names` implied by `-D warnings`
error: 5th binding whose name is just one char
--> $DIR/non_expressive_names.rs:119:17
2018-12-27 16:57:55 +01:00
|
LL | let e: i32;
| ^
error: 6th binding whose name is just one char
--> $DIR/non_expressive_names.rs:120:17
2018-12-27 16:57:55 +01:00
|
LL | let f: i32;
| ^
error: 5th binding whose name is just one char
--> $DIR/non_expressive_names.rs:124:13
2018-12-27 16:57:55 +01:00
|
LL | e => panic!(),
| ^
2017-11-03 21:54:33 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:134:9
2018-12-27 16:57:55 +01:00
|
LL | let _1 = 1; //~ERROR Consider a more descriptive name
| ^^
|
= note: `-D clippy::just-underscores-and-digits` implied by `-D warnings`
2017-11-03 21:54:33 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:135:9
2018-12-27 16:57:55 +01:00
|
LL | let ____1 = 1; //~ERROR Consider a more descriptive name
| ^^^^^
2017-11-03 21:54:33 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:136:9
2018-12-27 16:57:55 +01:00
|
LL | let __1___2 = 12; //~ERROR Consider a more descriptive name
| ^^^^^^^
2018-02-02 07:49:47 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:156:13
2018-12-27 16:57:55 +01:00
|
LL | let _1 = 1;
| ^^
2018-02-02 07:49:47 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:157:13
2018-12-27 16:57:55 +01:00
|
LL | let ____1 = 1;
| ^^^^^
2018-02-02 07:49:47 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:158:13
2018-12-27 16:57:55 +01:00
|
LL | let __1___2 = 12;
| ^^^^^^^
2018-02-02 07:49:47 +01:00
2018-08-15 08:11:07 +02:00
error: aborting due to 17 previous errors
2018-01-16 17:06:27 +01:00