blob: 26c8d8e113b5a3b31b68a2e77b7b6ab0fb63c0ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//@ check-pass
//@ aux-build:test-macros.rs
#[macro_use]
extern crate test_macros;
#[identity_attr]
mod m {
pub struct S;
}
#[identity_attr]
fn f() {
mod m {}
}
fn main() {
let s = m::S;
}
|