]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/unpretty-debug.stdout
Fix border radius for doc code blocks in rustdoc
[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 0: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: Root
23 1: parent: ExpnId(0), call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "foo")
24
25 SyntaxContexts:
26 #0: parent: #0, outer_mark: (ExpnId(0), Opaque)
27 #1: parent: #0, outer_mark: (ExpnId(1), SemiTransparent)
28 */