]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/unpretty-debug.rs
Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup
[rust.git] / src / test / ui / hygiene / unpretty-debug.rs
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(no_core)]
9 #![no_core]
10
11 macro_rules! foo {
12     ($x: ident) => { y + $x }
13 }
14
15 fn bar() {
16     let x = 1;
17     foo!(x)
18 }
19
20 fn y() {}