]>
Commit | Line | Data |
---|---|---|
0731742a XL |
1 | // aux-build:derive-unstable-2.rs |
2 | ||
60c5eb7d XL |
3 | #![feature(register_attr)] |
4 | ||
5 | #![register_attr(rustc_foo)] | |
0731742a XL |
6 | |
7 | #[macro_use] | |
8 | extern crate derive_unstable_2; | |
9 | ||
10 | #[derive(Unstable)] | |
416331ca XL |
11 | //~^ ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler |
12 | ||
0731742a XL |
13 | struct A; |
14 | ||
15 | fn main() { | |
16 | foo(); | |
17 | } |