Sign in
fuchsia
/
third_party
/
rust
/
16a8abe1bb159c4f1255533a4969590e3b7e0e61
/
.
/
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
()
{}