blob: 4160e5418b78a79bb488589aa2c9de7097baa437 [file] [log] [blame]
// aux-build:derive-unstable-2.rs
#![feature(register_attr)]
#![register_attr(rustc_foo)]
#[macro_use]
extern crate derive_unstable_2;
#[derive(Unstable)]
//~^ ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
struct A;
fn main() {
foo();
}