]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/expand-to-unstable-2.rs
Rollup merge of #62734 - GuillaumeGomez:hide-default-methods, r=Mark-Simulacrum
[rust.git] / src / test / ui / proc-macro / expand-to-unstable-2.rs
1 // aux-build:derive-unstable-2.rs
2
3 #![feature(custom_attribute)]
4
5 #[macro_use]
6 extern crate derive_unstable_2;
7
8 #[derive(Unstable)]
9 //~^ ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
10
11 struct A;
12
13 fn main() {
14     foo();
15 }