blob: 91bd652d37b88fcb00a63994197eb9d219b98954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@ aux-build:test-macros.rs
#[macro_use]
extern crate test_macros;
macro_rules! id {
($($t:tt)*) => ($($t)*)
}
#[identity_attr]
id![static X: u32 = 'a';]; //~ ERROR: mismatched types
fn main() {}
|