]> git.lizzy.rs Git - rust.git/blob - tests/ui/span/issue-43927-non-ADT-derive.rs
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / span / issue-43927-non-ADT-derive.rs
1 #![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
2 //~^ ERROR cannot determine resolution for the attribute macro `derive`
3 //~^^ ERROR `derive` attribute cannot be used at crate level
4 struct DerivedOn;
5
6 fn main() {}