]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/meta-macro-hygiene.stdout
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / proc-macro / meta-macro-hygiene.stdout
CommitLineData
f035d41b
XL
1Def site: $DIR/auxiliary/make-macro.rs:7:9: 10:10 (#3)
2#![feature /* 0#0 */(prelude_import)]
3#[prelude_import /* 0#1 */]
4use std /* 0#1 */::prelude /* 0#1 */::v1 /* 0#1 */::*;
5#[macro_use /* 0#1 */]
6extern 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
15extern crate meta_macro /* 0#0 */;
16
17fn main /* 0#0 */() { }
18
19/*
20Expansions:
210: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: Root
221: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: AstPass(StdImports)
232: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "meta_macro::print_def_site")
24
25SyntaxContexts:
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*/