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
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:18:9
|
18 | let bpple: i32;
| ^^^^^
|
= note: `-D similar-names` implied by `-D warnings`
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:16:9
|
16 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `b_pple`
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:18:9
|
18 | let bpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:20:9
|
20 | let cpple: i32;
| ^^^^^
|
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:16:9
|
16 | let apple: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `c_pple`
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:20:9
|
20 | let cpple: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:45:9
|
45 | let bluby: i32;
| ^^^^^
|
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:44:9
|
44 | let blubx: i32;
| ^^^^^
help: separate the discriminating character by an underscore like: `blub_y`
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:45:9
|
45 | let bluby: i32;
| ^^^^^
error: binding's name is too similar to existing binding
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:50:9
|
50 | let coke: i32;
| ^^^^
|
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:48:9
|
48 | let cake: i32;
| ^^^^
error: binding's name is too similar to existing binding
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:68:9
|
68 | let xyzeabc: i32;
| ^^^^^^^
|
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:66:9
|
66 | let xyz1abc: i32;
| ^^^^^^^
error: binding's name is too similar to existing binding
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:72:9
|
72 | let parsee: i32;
| ^^^^^^
|
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:70:9
|
70 | let parser: i32;
| ^^^^^^
help: separate the discriminating character by an underscore like: `parse_e`
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:72:9
|
72 | let parsee: i32;
| ^^^^^^
error: binding's name is too similar to existing binding
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:86:16
|
86 | bpple: sprang } = unimplemented!();
| ^^^^^^
|
note: existing binding defined here
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:85:22
|
85 | let Foo { apple: spring,
| ^^^^^^
error: 5th binding whose name is just one char
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:120:17
|
120 | let e: i32;
| ^
|
= note: `-D many-single-char-names` implied by `-D warnings`
error: 5th binding whose name is just one char
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:123:17
|
123 | let e: i32;
| ^
error: 6th binding whose name is just one char
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:124:17
|
124 | let f: i32;
| ^
error: 5th binding whose name is just one char
2017-08-01 17:54:21 +02:00
--> $DIR/non_expressive_names.rs:129:13
|
129 | e => panic!(),
| ^
2017-11-03 21:54:33 +01:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:139:9
|
139 | let _1 = 1; //~ERROR Consider a more descriptive name
| ^^
|
2017-11-03 21:54:33 +01:00
= note: `-D 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:140:9
|
140 | 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:141:9
|
141 | 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
2018-08-15 08:11:07 +02:00
--> $DIR/non_expressive_names.rs:154:13
2018-02-02 07:49:47 +01:00
|
2018-08-15 08:11:07 +02:00
154 | let _1 = 1;
2018-02-02 07:49:47 +01:00
| ^^
error: consider choosing a more descriptive name
2018-08-15 08:11:07 +02:00
--> $DIR/non_expressive_names.rs:155:13
2018-02-02 07:49:47 +01:00
|
2018-08-15 08:11:07 +02:00
155 | let ____1 = 1;
2018-02-02 07:49:47 +01:00
| ^^^^^
error: consider choosing a more descriptive name
2018-08-15 08:11:07 +02:00
--> $DIR/non_expressive_names.rs:156:13
2018-02-02 07:49:47 +01:00
|
2018-08-15 08:11:07 +02:00
156 | 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