]> git.lizzy.rs Git - rust.git/blob - src/test/ui/malformed/issue-69341-malformed-derive-inert.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / malformed / issue-69341-malformed-derive-inert.rs
1 fn main() {}
2
3 struct CLI {
4     #[derive(parse())]
5     //~^ ERROR traits in `#[derive(...)]` don't accept arguments
6     //~| ERROR cannot find derive macro `parse` in this scope
7     //~| ERROR cannot find derive macro `parse` in this scope
8     path: (),
9     //~^ ERROR `derive` may only be applied to structs, enums and unions
10 }