diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/proc-macro/dollar-crate-issue-57089.stdout | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/dollar-crate-issue-57089.stdout b/src/test/ui/proc-macro/dollar-crate-issue-57089.stdout new file mode 100644 index 000000000..c0c9ed72c --- /dev/null +++ b/src/test/ui/proc-macro/dollar-crate-issue-57089.stdout @@ -0,0 +1,80 @@ +PRINT-BANG INPUT (DISPLAY): struct M($crate :: S) ; +PRINT-BANG INPUT (DEBUG): TokenStream [ + Ident { + ident: "struct", + span: $DIR/dollar-crate-issue-57089.rs:17:13: 17:19 (#4), + }, + Ident { + ident: "M", + span: $DIR/dollar-crate-issue-57089.rs:17:20: 17:21 (#4), + }, + Group { + delimiter: Parenthesis, + stream: TokenStream [ + Ident { + ident: "$crate", + span: $DIR/dollar-crate-issue-57089.rs:17:22: 17:28 (#4), + }, + Punct { + ch: ':', + spacing: Joint, + span: $DIR/dollar-crate-issue-57089.rs:17:28: 17:30 (#4), + }, + Punct { + ch: ':', + spacing: Alone, + span: $DIR/dollar-crate-issue-57089.rs:17:28: 17:30 (#4), + }, + Ident { + ident: "S", + span: $DIR/dollar-crate-issue-57089.rs:17:30: 17:31 (#4), + }, + ], + span: $DIR/dollar-crate-issue-57089.rs:17:21: 17:32 (#4), + }, + Punct { + ch: ';', + spacing: Alone, + span: $DIR/dollar-crate-issue-57089.rs:17:32: 17:33 (#4), + }, +] +PRINT-ATTR INPUT (DISPLAY): struct A($crate :: S) ; +PRINT-ATTR INPUT (DEBUG): TokenStream [ + Ident { + ident: "struct", + span: $DIR/dollar-crate-issue-57089.rs:21:9: 21:15 (#4), + }, + Ident { + ident: "A", + span: $DIR/dollar-crate-issue-57089.rs:21:16: 21:17 (#4), + }, + Group { + delimiter: Parenthesis, + stream: TokenStream [ + Ident { + ident: "$crate", + span: $DIR/dollar-crate-issue-57089.rs:21:18: 21:24 (#4), + }, + Punct { + ch: ':', + spacing: Joint, + span: $DIR/dollar-crate-issue-57089.rs:21:24: 21:26 (#4), + }, + Punct { + ch: ':', + spacing: Alone, + span: $DIR/dollar-crate-issue-57089.rs:21:24: 21:26 (#4), + }, + Ident { + ident: "S", + span: $DIR/dollar-crate-issue-57089.rs:21:26: 21:27 (#4), + }, + ], + span: $DIR/dollar-crate-issue-57089.rs:21:17: 21:28 (#4), + }, + Punct { + ch: ';', + spacing: Alone, + span: $DIR/dollar-crate-issue-57089.rs:21:28: 21:29 (#4), + }, +] |