blob: 0825c1a8ecbce1ae2e4fa6097c8c48b89546d8c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// aux-build:derive-unstable.rs
#![allow(warnings)]
#[macro_use]
extern crate derive_unstable;
#[derive(Unstable)]
//~^ ERROR: use of unstable library feature
struct A;
fn main() {
unsafe { foo(); }
}
|