2017-12-06 09:27:47 +01:00
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:4:1
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #![derive(Debug)]
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug)]`
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:7:1
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:10:17
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | mod inner { #![derive(Debug)] }
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Debug)]`
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:13:5
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:26:5
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `derive` may only be applied to structs, enums and unions
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-43106-gating-of-derive.rs:30:5
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #[derive(Debug)]
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|