]> git.lizzy.rs Git - rust.git/blob - src/test/ui/malformed/issue-69341-malformed-derive-inert.stderr
Update tests
[rust.git] / src / test / ui / malformed / issue-69341-malformed-derive-inert.stderr
1 error: traits in `#[derive(...)]` don't accept arguments
2   --> $DIR/issue-69341-malformed-derive-inert.rs:4:19
3    |
4 LL |     #[derive(parse())]
5    |                   ^^ help: remove the arguments
6
7 error[E0774]: `derive` may only be applied to structs, enums and unions
8   --> $DIR/issue-69341-malformed-derive-inert.rs:8:5
9    |
10 LL |     path: (),
11    |     ^^^^^^^^
12
13 error: cannot find derive macro `parse` in this scope
14   --> $DIR/issue-69341-malformed-derive-inert.rs:4:14
15    |
16 LL |     #[derive(parse())]
17    |              ^^^^^
18
19 error: cannot find derive macro `parse` in this scope
20   --> $DIR/issue-69341-malformed-derive-inert.rs:4:14
21    |
22 LL |     #[derive(parse())]
23    |              ^^^^^
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0774`.