2019-07-26 19:52:37 -03:00
|
|
|
error: unused variable: `a`
|
2019-06-09 07:58:40 -03:00
|
|
|
--> $DIR/param-attrs-cfg.rs:24:23
|
|
|
|
|
|
2019-07-26 19:52:37 -03:00
|
|
|
LL | #[cfg(something)] a: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
2019-06-09 07:58:40 -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/param-attrs-cfg.rs:5:9
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_variables)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-02-16 10:06:59 +00:00
|
|
|
error: unused variable: `a`
|
|
|
|
--> $DIR/param-attrs-cfg.rs:41:27
|
|
|
|
|
|
|
|
|
LL | #[cfg(something)] a: i32,
|
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
|
|
|
|
2019-07-26 19:52:37 -03:00
|
|
|
error: unused variable: `b`
|
|
|
|
--> $DIR/param-attrs-cfg.rs:30:23
|
|
|
|
|
|
|
|
|
LL | #[cfg(something)] 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-06-09 07:58:40 -03:00
|
|
|
error: unused variable: `c`
|
2019-07-26 19:52:37 -03:00
|
|
|
--> $DIR/param-attrs-cfg.rs:32:40
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:48:27
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:50:44
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:56:27
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:58:44
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:67:27
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] 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: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:69:44
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:75:27
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:77:44
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:86:27
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] 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: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:88:44
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
error: unused variable: `b`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:94:27
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] 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: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:96:44
|
2019-09-29 09:26:02 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-09-29 09:26:02 +02:00
|
|
|
|
2022-08-23 20:53:02 +09:00
|
|
|
error: unused variable: `a`
|
|
|
|
--> $DIR/param-attrs-cfg.rs:107:27
|
|
|
|
|
|
|
|
|
LL | #[cfg(something)] 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/param-attrs-cfg.rs:113:27
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg(something)] b: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_b`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
error: unused variable: `c`
|
2022-08-23 20:53:02 +09:00
|
|
|
--> $DIR/param-attrs-cfg.rs:115:44
|
2019-06-09 07:58:40 -03:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(nothing, cfg(nothing))] c: i32,
|
2020-03-23 11:02:46 +03:00
|
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_c`
|
2019-06-09 07:58:40 -03:00
|
|
|
|
2019-09-29 09:26:02 +02:00
|
|
|
error: aborting due to 19 previous errors
|
2019-06-09 07:58:40 -03:00
|
|
|
|