]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
1 | Def site: $DIR/auxiliary/make-macro.rs:7:9: 10:10 (#3) |
2 | #![feature /* 0#0 */(prelude_import)] | |
3 | #[prelude_import /* 0#1 */] | |
4 | use std /* 0#1 */::prelude /* 0#1 */::v1 /* 0#1 */::*; | |
5 | #[macro_use /* 0#1 */] | |
6 | extern crate std /* 0#1 */; | |
7 | // aux-build:make-macro.rs | |
8 | // aux-build:meta-macro.rs | |
9 | // edition:2018 | |
10 | // compile-flags: -Z span-debug -Z unpretty=expanded,hygiene | |
11 | // check-pass | |
12 | // normalize-stdout-test "\d+#" -> "0#" | |
13 | // ^ We don't care about symbol ids, so set them all to 0 | |
14 | // in the stdout | |
15 | extern crate meta_macro /* 0#0 */; | |
16 | ||
17 | fn main /* 0#0 */() { } | |
18 | ||
19 | /* | |
20 | Expansions: | |
21 | 0: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: Root | |
22 | 1: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: AstPass(StdImports) | |
23 | 2: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "meta_macro::print_def_site") | |
24 | ||
25 | SyntaxContexts: | |
26 | #0: parent: #0, outer_mark: (ExpnId(0), Opaque) | |
27 | #1: parent: #0, outer_mark: (ExpnId(1), Opaque) | |
28 | #2: parent: #0, outer_mark: (ExpnId(1), Transparent) | |
29 | #3: parent: #0, outer_mark: (ExpnId(2), Opaque) | |
30 | #4: parent: #0, outer_mark: (ExpnId(2), Transparent) | |
31 | #5: parent: #0, outer_mark: (ExpnId(2), SemiTransparent) | |
32 | */ |