11Def site: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4)
2- Input: TokenStream [Ident { ident: "$crate", span: $DIR/meta-macro-hygiene.rs:24 :37: 24 :43 (#3) }, Punct { ch: ':', spacing: Joint, span: $DIR/meta-macro-hygiene.rs:24 :43: 24 :44 (#3) }, Punct { ch: ':', spacing: Alone, span: $DIR/meta-macro-hygiene.rs:24 :44: 24 :45 (#3) }, Ident { ident: "dummy", span: $DIR/meta-macro-hygiene.rs:24 :45: 24 :50 (#3) }, Punct { ch: '!', spacing: Alone, span: $DIR/meta-macro-hygiene.rs:24 :50: 24 :51 (#3) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: $DIR/meta-macro-hygiene.rs:24 :51: 24 :53 (#3) }]
2+ Input: TokenStream [Ident { ident: "$crate", span: $DIR/meta-macro-hygiene.rs:26 :37: 26 :43 (#3) }, Punct { ch: ':', spacing: Joint, span: $DIR/meta-macro-hygiene.rs:26 :43: 26 :44 (#3) }, Punct { ch: ':', spacing: Alone, span: $DIR/meta-macro-hygiene.rs:26 :44: 26 :45 (#3) }, Ident { ident: "dummy", span: $DIR/meta-macro-hygiene.rs:26 :45: 26 :50 (#3) }, Punct { ch: '!', spacing: Alone, span: $DIR/meta-macro-hygiene.rs:26 :50: 26 :51 (#3) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: $DIR/meta-macro-hygiene.rs:26 :51: 26 :53 (#3) }]
33Respanned: TokenStream [Ident { ident: "$crate", span: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4) }, Punct { ch: ':', spacing: Joint, span: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4) }, Punct { ch: ':', spacing: Alone, span: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4) }, Ident { ident: "dummy", span: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4) }, Punct { ch: '!', spacing: Alone, span: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: $DIR/auxiliary/make-macro.rs:7:9: 7:56 (#4) }]
44#![feature /* 0#0 */(prelude_import)]
55// aux-build:make-macro.rs
66// aux-build:meta-macro.rs
77// edition:2018
88// compile-flags: -Z span-debug -Z macro-backtrace -Z unpretty=expanded,hygiene -Z trim-diagnostic-paths=no
99// check-pass
10+ // ignore-tidy-linelength
1011// normalize-stdout-test "\d+#" -> "0#"
1112// normalize-stdout-test "expn\d{3,}" -> "expnNNN"
13+ // normalize-stdout-test "extern crate compiler_builtins /\* \d+ \*/" -> "extern crate compiler_builtins /* NNN */"
1214//
1315// We don't care about symbol ids, so we set them all to 0
1416// in the stdout
@@ -18,7 +20,7 @@ Respanned: TokenStream [Ident { ident: "$crate", span: $DIR/auxiliary/make-macro
1820use core /* 0#1 */::prelude /* 0#1 */::rust_2018 /* 0#1 */::*;
1921#[macro_use /* 0#1 */]
2022extern crate core /* 0#1 */;
21- extern crate compiler_builtins /* 445 */ as _ /* 0#1 */;
23+ extern crate compiler_builtins /* NNN */ as _ /* 0#1 */;
2224// Don't load unnecessary hygiene information from std
2325extern crate std /* 0#0 */;
2426
@@ -36,7 +38,7 @@ macro_rules! produce_it
3638 // relative to `meta_macro`, *not* `make_macro` (despite
3739 // the fact that `print_def_site` is produced by a
3840 // `macro_rules!` macro in `make_macro`).
39- }
41+ } ;
4042}
4143
4244fn main /* 0#0 */() { ; }
0 commit comments