summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/issue-43927-non-ADT-derive.rs
blob: 935bfa001bfc6135d16ccc49525c55da0a55ea2f (plain)
1
2
3
4
5
6
#![derive(Debug, PartialEq, Eq)] // should be an outer attribute!
//~^ ERROR cannot determine resolution for the attribute macro `derive`
//~^^ ERROR `derive` attribute cannot be used at crate level
struct DerivedOn;

fn main() {}