summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/input-interpolated.stdout
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/proc-macro/input-interpolated.stdout
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/proc-macro/input-interpolated.stdout')
-rw-r--r--tests/ui/proc-macro/input-interpolated.stdout59
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/input-interpolated.stdout b/tests/ui/proc-macro/input-interpolated.stdout
new file mode 100644
index 000000000..34566c780
--- /dev/null
+++ b/tests/ui/proc-macro/input-interpolated.stdout
@@ -0,0 +1,59 @@
+PRINT-BANG INPUT (DISPLAY): A
+PRINT-BANG INPUT (DEBUG): TokenStream [
+ Ident {
+ ident: "A",
+ span: #0 bytes(503..504),
+ },
+]
+PRINT-ATTR INPUT (DISPLAY): const A : u8 = 0 ;
+PRINT-ATTR INPUT (DEBUG): TokenStream [
+ Ident {
+ ident: "const",
+ span: #4 bytes(416..421),
+ },
+ Ident {
+ ident: "A",
+ span: #0 bytes(503..504),
+ },
+ Punct {
+ ch: ':',
+ spacing: Alone,
+ span: #4 bytes(424..425),
+ },
+ Ident {
+ ident: "u8",
+ span: #4 bytes(426..428),
+ },
+ Punct {
+ ch: '=',
+ spacing: Alone,
+ span: #4 bytes(429..430),
+ },
+ Literal {
+ kind: Integer,
+ symbol: "0",
+ suffix: None,
+ span: #4 bytes(431..432),
+ },
+ Punct {
+ ch: ';',
+ spacing: Alone,
+ span: #4 bytes(432..433),
+ },
+]
+PRINT-DERIVE INPUT (DISPLAY): struct A {}
+PRINT-DERIVE INPUT (DEBUG): TokenStream [
+ Ident {
+ ident: "struct",
+ span: #4 bytes(468..474),
+ },
+ Ident {
+ ident: "A",
+ span: #0 bytes(503..504),
+ },
+ Group {
+ delimiter: Brace,
+ stream: TokenStream [],
+ span: #4 bytes(478..480),
+ },
+]