]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/expand-to-unstable.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / 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 }