fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
742 B28 linesraw
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
11macro_rules! foo /* 0#0 */ { ($x : ident) => { y + $x } }
12
13fn bar /* 0#0 */() {
14    let x /* 0#0 */ = 1;
15    y /* 0#1 */ + x /* 0#0 */
16}
17
18fn y /* 0#0 */() {}
19
20/*
21Expansions:
22crate0::{{expn0}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Root
23crate0::{{expn1}}: parent: crate0::{{expn0}}, call_site_ctxt: #0, def_site_ctxt: #0, kind: Macro(Bang, "foo")
24
25SyntaxContexts:
26#0: parent: #0, outer_mark: (crate0::{{expn0}}, Opaque)
27#1: parent: #0, outer_mark: (crate0::{{expn1}}, SemiTransparent)
28*/