]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/unpretty-debug.stdout
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / hygiene / unpretty-debug.stdout
1 // check-pass
2 // compile-flags: -Zunpretty=expanded,hygiene
3
4 // Don't break whenever Symbol numbering changes
5 // normalize-stdout-test "\d+#" -> "0#"
6
7 // minimal junk
8 #![feature /* 0#0 */(no_core)]
9 #![no_core /* 0#0 */]
10
11 macro_rules! foo /* 0#0 */ { ($x : ident) => { y + $x } }
12
13 fn bar /* 0#0 */() {
14     let x /* 0#0 */ = 1;
15     y /* 0#1 */ + x /* 0#0 */
16 }
17
18 fn y /* 0#0 */() { }
19
20 /*
21 Expansions:
22 crate0::{{expn0}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Root
23 crate0::{{expn1}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "foo")
24
25 SyntaxContexts:
26 #0: parent: #0, outer_mark: (crate0::{{expn0}}, Opaque)
27 #1: parent: #0, outer_mark: (crate0::{{expn1}}, SemiTransparent)
28 */