]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/expand-to-unstable.rs
Rollup merge of #107470 - kadiwa4:bootstrap_cleanup, r=albertlarsan68
[rust.git] / tests / ui / proc-macro / expand-to-unstable.rs
1 // aux-build:derive-unstable.rs
2
3 #![allow(warnings)]
4
5 #[macro_use]
6 extern crate derive_unstable;
7
8 #[derive(Unstable)]
9 //~^ ERROR: use of unstable library feature
10 struct A;
11
12 fn main() {
13     unsafe { foo(); }
14 }