2019-07-26 19:52:37 -03:00
|
|
|
error: unused variable: `a`
|
|
|
|
--> $DIR/lint-unused-variables.rs:8:5
|
|
|
|
|
|
|
|
|
LL | a: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2019-07-26 19:52:37 -03:00
|
|
|
--> $DIR/lint-unused-variables.rs:5:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: unused variable: `a`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:22:9
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
|
LL | a: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
2019-07-26 19:52:37 -03:00
|
|
|
|
2023-02-16 10:06:59 +00:00
|
|
|
error: unused variable: `b`
|
|
|
|
--> $DIR/lint-unused-variables.rs:14:5
|
|
|
|
|
|
|
|
|
LL | b: i32,
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
|
|
|
|
2019-07-26 19:52:37 -03:00
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:29:9
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:34:9
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:42:9
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:47:9
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:55:9
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:60:9
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-09-29 09:26:02 +02:00
|
|
|
|
2022-08-23 20:53:02 +09:00
|
|
|
error: unused variable: `a`
|
|
|
|
--> $DIR/lint-unused-variables.rs:68:9
|
|
|
|
|
|
|
|
|
LL | a: i32,
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
|
|
|
|
2019-09-29 09:26:02 +02:00
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/lint-unused-variables.rs:74:9
|
2019-07-26 19:52:37 -03:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 19:52:37 -03:00
|
|
|
|
2019-09-29 09:26:02 +02:00
|
|
|
error: aborting due to 11 previous errors
|
2019-07-26 19:52:37 -03:00
|
|
|
|