summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/trailing-plus.stdout
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /src/test/ui/proc-macro/trailing-plus.stdout
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/proc-macro/trailing-plus.stdout')
-rw-r--r--src/test/ui/proc-macro/trailing-plus.stdout57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/trailing-plus.stdout b/src/test/ui/proc-macro/trailing-plus.stdout
new file mode 100644
index 000000000..b90057cd6
--- /dev/null
+++ b/src/test/ui/proc-macro/trailing-plus.stdout
@@ -0,0 +1,57 @@
+PRINT-ATTR INPUT (DISPLAY): fn foo < T > () where T : Copy + {}
+PRINT-ATTR INPUT (DEBUG): TokenStream [
+ Ident {
+ ident: "fn",
+ span: $DIR/trailing-plus.rs:11:1: 11:3 (#0),
+ },
+ Ident {
+ ident: "foo",
+ span: $DIR/trailing-plus.rs:11:4: 11:7 (#0),
+ },
+ Punct {
+ ch: '<',
+ spacing: Alone,
+ span: $DIR/trailing-plus.rs:11:7: 11:8 (#0),
+ },
+ Ident {
+ ident: "T",
+ span: $DIR/trailing-plus.rs:11:8: 11:9 (#0),
+ },
+ Punct {
+ ch: '>',
+ spacing: Alone,
+ span: $DIR/trailing-plus.rs:11:9: 11:10 (#0),
+ },
+ Group {
+ delimiter: Parenthesis,
+ stream: TokenStream [],
+ span: $DIR/trailing-plus.rs:11:10: 11:12 (#0),
+ },
+ Ident {
+ ident: "where",
+ span: $DIR/trailing-plus.rs:11:13: 11:18 (#0),
+ },
+ Ident {
+ ident: "T",
+ span: $DIR/trailing-plus.rs:11:19: 11:20 (#0),
+ },
+ Punct {
+ ch: ':',
+ spacing: Alone,
+ span: $DIR/trailing-plus.rs:11:20: 11:21 (#0),
+ },
+ Ident {
+ ident: "Copy",
+ span: $DIR/trailing-plus.rs:11:22: 11:26 (#0),
+ },
+ Punct {
+ ch: '+',
+ spacing: Alone,
+ span: $DIR/trailing-plus.rs:11:27: 11:28 (#0),
+ },
+ Group {
+ delimiter: Brace,
+ stream: TokenStream [],
+ span: $DIR/trailing-plus.rs:11:29: 12:2 (#0),
+ },
+]