rust/tests/ui/non_expressive_names.stderr

90 lines
2.4 KiB
Plaintext
Raw Normal View History

error: 5 bindings with single-character names in scope
--> $DIR/non_expressive_names.rs:27:9
2018-12-27 09:57:55 -06:00
|
LL | let a: i32;
| ^
LL | let (b, c, d): (i32, i64, i16);
| ^ ^ ^
...
2018-12-27 09:57:55 -06:00
LL | let e: i32;
| ^
|
= note: `-D clippy::many-single-char-names` implied by `-D warnings`
error: 6 bindings with single-character names in scope
--> $DIR/non_expressive_names.rs:27:9
2018-12-27 09:57:55 -06:00
|
LL | let a: i32;
| ^
LL | let (b, c, d): (i32, i64, i16);
| ^ ^ ^
...
2018-12-27 09:57:55 -06:00
LL | let e: i32;
| ^
LL | let f: i32;
| ^
error: 5 bindings with single-character names in scope
--> $DIR/non_expressive_names.rs:27:9
2018-12-27 09:57:55 -06:00
|
LL | let a: i32;
| ^
LL | let (b, c, d): (i32, i64, i16);
| ^ ^ ^
...
2018-12-27 09:57:55 -06:00
LL | e => panic!(),
| ^
error: 8 bindings with single-character names in scope
--> $DIR/non_expressive_names.rs:52:13
|
LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}
| ^ ^ ^ ^ ^ ^ ^ ^
error: 8 bindings with single-character names in scope
--> $DIR/non_expressive_names.rs:55:10
|
LL | let (a, b, c, d, e, f, g, h) = unimplemented!();
| ^ ^ ^ ^ ^ ^ ^ ^
2017-11-03 15:54:33 -05:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:92:9
2018-12-27 09:57:55 -06: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 15:54:33 -05:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:93:9
2018-12-27 09:57:55 -06:00
|
LL | let ____1 = 1; //~ERROR Consider a more descriptive name
| ^^^^^
2017-11-03 15:54:33 -05:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:94:9
2018-12-27 09:57:55 -06:00
|
LL | let __1___2 = 12; //~ERROR Consider a more descriptive name
| ^^^^^^^
2018-02-02 00:49:47 -06:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:114:13
2018-12-27 09:57:55 -06:00
|
LL | let _1 = 1;
| ^^
2018-02-02 00:49:47 -06:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:115:13
2018-12-27 09:57:55 -06:00
|
LL | let ____1 = 1;
| ^^^^^
2018-02-02 00:49:47 -06:00
error: consider choosing a more descriptive name
--> $DIR/non_expressive_names.rs:116:13
2018-12-27 09:57:55 -06:00
|
LL | let __1___2 = 12;
| ^^^^^^^
2018-02-02 00:49:47 -06:00
error: aborting due to 11 previous errors
2018-01-16 10:06:27 -06:00