blob: f0e82f367579bb42d6cffb315fb71c29257c5320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@ run-pass
//@ proc-macro: custom-attr-only-one-derive.rs
#[macro_use]
extern crate custom_attr_only_one_derive;
#[derive(Bar, Foo)]
#[custom = "test"]
pub enum A {
B,
C,
}
fn main() {}
|