2017-12-06 02:27:47 -06:00
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:14:1
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![derive(Debug)]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug)]`
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:17:1
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:20:17
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | mod inner { #![derive(Debug)] }
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug)]`
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:23:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:36:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:40:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|