diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:58 +0000 |
commit | a4b7ed7a42c716ab9f05e351f003d589124fd55d (patch) | |
tree | b620cd3f223850b28716e474e80c58059dca5dd4 /tests/ui/proc-macro/dollar-crate-issue-62325.stdout | |
parent | Adding upstream version 1.67.1+dfsg1. (diff) | |
download | rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip |
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/proc-macro/dollar-crate-issue-62325.stdout')
-rw-r--r-- | tests/ui/proc-macro/dollar-crate-issue-62325.stdout | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/dollar-crate-issue-62325.stdout b/tests/ui/proc-macro/dollar-crate-issue-62325.stdout new file mode 100644 index 000000000..a91908239 --- /dev/null +++ b/tests/ui/proc-macro/dollar-crate-issue-62325.stdout @@ -0,0 +1,110 @@ +PRINT-ATTR INPUT (DISPLAY): struct A(identity! ($crate :: S)) ; +PRINT-ATTR INPUT (DEBUG): TokenStream [ + Ident { + ident: "struct", + span: $DIR/dollar-crate-issue-62325.rs:19:5: 19:11 (#4), + }, + Ident { + ident: "A", + span: $DIR/dollar-crate-issue-62325.rs:19:12: 19:13 (#4), + }, + Group { + delimiter: Parenthesis, + stream: TokenStream [ + Ident { + ident: "identity", + span: $DIR/dollar-crate-issue-62325.rs:19:14: 19:22 (#4), + }, + Punct { + ch: '!', + spacing: Alone, + span: $DIR/dollar-crate-issue-62325.rs:19:22: 19:23 (#4), + }, + Group { + delimiter: Parenthesis, + stream: TokenStream [ + Ident { + ident: "$crate", + span: $DIR/dollar-crate-issue-62325.rs:19:24: 19:30 (#4), + }, + Punct { + ch: ':', + spacing: Joint, + span: $DIR/dollar-crate-issue-62325.rs:19:30: 19:31 (#4), + }, + Punct { + ch: ':', + spacing: Alone, + span: $DIR/dollar-crate-issue-62325.rs:19:31: 19:32 (#4), + }, + Ident { + ident: "S", + span: $DIR/dollar-crate-issue-62325.rs:19:32: 19:33 (#4), + }, + ], + span: $DIR/dollar-crate-issue-62325.rs:19:23: 19:34 (#4), + }, + ], + span: $DIR/dollar-crate-issue-62325.rs:19:13: 19:35 (#4), + }, + Punct { + ch: ';', + spacing: Alone, + span: $DIR/dollar-crate-issue-62325.rs:19:35: 19:36 (#4), + }, +] +PRINT-ATTR INPUT (DISPLAY): struct B(identity! ($crate :: S)) ; +PRINT-ATTR INPUT (DEBUG): TokenStream [ + Ident { + ident: "struct", + span: $DIR/auxiliary/dollar-crate-external.rs:21:5: 21:11 (#12), + }, + Ident { + ident: "B", + span: $DIR/auxiliary/dollar-crate-external.rs:21:12: 21:13 (#12), + }, + Group { + delimiter: Parenthesis, + stream: TokenStream [ + Ident { + ident: "identity", + span: $DIR/auxiliary/dollar-crate-external.rs:21:14: 21:22 (#12), + }, + Punct { + ch: '!', + spacing: Alone, + span: $DIR/auxiliary/dollar-crate-external.rs:21:22: 21:23 (#12), + }, + Group { + delimiter: Parenthesis, + stream: TokenStream [ + Ident { + ident: "$crate", + span: $DIR/auxiliary/dollar-crate-external.rs:21:24: 21:30 (#12), + }, + Punct { + ch: ':', + spacing: Joint, + span: $DIR/auxiliary/dollar-crate-external.rs:21:30: 21:31 (#12), + }, + Punct { + ch: ':', + spacing: Alone, + span: $DIR/auxiliary/dollar-crate-external.rs:21:31: 21:32 (#12), + }, + Ident { + ident: "S", + span: $DIR/auxiliary/dollar-crate-external.rs:21:32: 21:33 (#12), + }, + ], + span: $DIR/auxiliary/dollar-crate-external.rs:21:23: 21:34 (#12), + }, + ], + span: $DIR/auxiliary/dollar-crate-external.rs:21:13: 21:35 (#12), + }, + Punct { + ch: ';', + spacing: Alone, + span: $DIR/auxiliary/dollar-crate-external.rs:21:35: 21:36 (#12), + }, +] |