blob: 58663cc6c3794cb49873bbb930b246fde3cf8e1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#![allow(dead_code)]
// aux-build:derive-nothing.rs
#[macro_use]
extern crate derive_nothing;
macro_rules! int {
() => { i32 }
}
#[derive(Nothing)]
struct S {
x: int!(),
}
fn main() {}
|