fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
733 B26 linesraw
1error: traits in `#[derive(...)]` don't accept arguments
2  --> $DIR/issue-69341-malformed-derive-inert.rs:4:19
3   |
4LL |     #[derive(parse())]
5   |                   ^^ help: remove the arguments
6
7error: `derive` may only be applied to structs, enums and unions
8  --> $DIR/issue-69341-malformed-derive-inert.rs:8:5
9   |
10LL |     path: (),
11   |     ^^^^^^^^
12
13error: cannot find derive macro `parse` in this scope
14  --> $DIR/issue-69341-malformed-derive-inert.rs:4:14
15   |
16LL |     #[derive(parse())]
17   |              ^^^^^
18
19error: cannot find derive macro `parse` in this scope
20  --> $DIR/issue-69341-malformed-derive-inert.rs:4:14
21   |
22LL |     #[derive(parse())]
23   |              ^^^^^
24
25error: aborting due to 4 previous errors
26