blob: 12c3ac6d9475b62c936b80905867d4dbb87fd4c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// aux-build:test-macros.rs
#[macro_use]
extern crate test_macros;
#[identity_attr] //~ ERROR custom attributes cannot be applied to modules
mod m {
pub struct S;
}
fn main() {
let s = m::S;
}
|