2019-07-26 22:52:37 +00:00
|
|
|
error: unused variable: `a`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:7:5
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | a: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:4:9
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: unused variable: `a`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:21:9
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | a: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
2019-07-26 22:52:37 +00:00
|
|
|
|
2024-08-01 17:05:17 +00:00
|
|
|
error: unused variable: `a`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:67:9
|
2024-08-01 17:05:17 +00:00
|
|
|
|
|
|
|
|
LL | a: i32,
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
|
|
|
|
2023-02-16 10:06:59 +00:00
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:13:5
|
2023-02-16 10:06:59 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
|
|
|
|
2019-07-26 22:52:37 +00:00
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:28:9
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:33:9
|
2019-09-29 07:26:02 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-09-29 07:26:02 +00:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:41:9
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:46:9
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:54:9
|
2019-09-29 07:26:02 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-09-29 07:26:02 +00:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:59:9
|
2019-09-29 07:26:02 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-09-29 07:26:02 +00:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2024-11-06 17:53:59 +00:00
|
|
|
--> $DIR/lint-unused-variables.rs:73:9
|
2019-07-26 22:52:37 +00:00
|
|
|
|
|
|
|
|
LL | b: i32,
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-07-26 22:52:37 +00:00
|
|
|
|
2019-09-29 07:26:02 +00:00
|
|
|
error: aborting due to 11 previous errors
|
2019-07-26 22:52:37 +00:00
|
|
|
|