Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
span
/
issue-43927-non-ADT-derive.rs
blob: add1758dddfb62f80b0a912757811db7ddf56e1a [
file
] [
log
] [
blame
]
#![
allow
(
dead_code
)]
#![
derive
(
Debug
,
PartialEq
,
Eq
)]
// should be an outer attribute!
//~^ ERROR `derive` may only be applied to structs, enums and unions
struct
DerivedOn
;
fn
main
()
{}