os-rust/src/test/ui/feature-gate/issue-43106-gating-of-derive.stderr

39 lines
1.2 KiB
Text
Raw Normal View History

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
|
2018-02-23 03:42:32 +03:00
LL | #![derive(Debug)]
| ^^^^^^^^^^^^^^^^^ 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
|
2018-02-23 03:42:32 +03:00
LL | #[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:10:17
|
2018-02-23 03:42:32 +03:00
LL | mod inner { #![derive(Debug)] }
| ^^^^^^^^^^^^^^^^^ 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
|
2018-02-23 03:42:32 +03:00
LL | #[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:26:5
|
2018-02-23 03:42:32 +03:00
LL | #[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:30:5
|
2018-02-23 03:42:32 +03:00
LL | #[derive(Debug)]
| ^^^^^^^^^^^^^^^^
error: aborting due to 6 previous errors