summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/issue-78675-captured-inner-attrs.stdout
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/proc-macro/issue-78675-captured-inner-attrs.stdout87
1 files changed, 87 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/issue-78675-captured-inner-attrs.stdout b/src/test/ui/proc-macro/issue-78675-captured-inner-attrs.stdout
new file mode 100644
index 000000000..60a400a5d
--- /dev/null
+++ b/src/test/ui/proc-macro/issue-78675-captured-inner-attrs.stdout
@@ -0,0 +1,87 @@
+PRINT-BANG INPUT (DISPLAY): foo! { #[fake_attr] mod bar {
+ #![doc = r" Foo"]
+} }
+PRINT-BANG DEEP-RE-COLLECTED (DISPLAY): foo! { #[fake_attr] mod bar { #! [doc = r" Foo"] } }
+PRINT-BANG INPUT (DEBUG): TokenStream [
+ Ident {
+ ident: "foo",
+ span: $DIR/issue-78675-captured-inner-attrs.rs:20:9: 20:12 (#4),
+ },
+ Punct {
+ ch: '!',
+ spacing: Alone,
+ span: $DIR/issue-78675-captured-inner-attrs.rs:20:12: 20:13 (#4),
+ },
+ Group {
+ delimiter: Brace,
+ stream: TokenStream [
+ Punct {
+ ch: '#',
+ spacing: Alone,
+ span: $DIR/issue-78675-captured-inner-attrs.rs:21:13: 21:14 (#4),
+ },
+ Group {
+ delimiter: Bracket,
+ stream: TokenStream [
+ Ident {
+ ident: "fake_attr",
+ span: $DIR/issue-78675-captured-inner-attrs.rs:21:15: 21:24 (#4),
+ },
+ ],
+ span: $DIR/issue-78675-captured-inner-attrs.rs:21:14: 21:25 (#4),
+ },
+ Group {
+ delimiter: None,
+ stream: TokenStream [
+ Ident {
+ ident: "mod",
+ span: $DIR/issue-78675-captured-inner-attrs.rs:27:5: 27:8 (#0),
+ },
+ Ident {
+ ident: "bar",
+ span: $DIR/issue-78675-captured-inner-attrs.rs:27:9: 27:12 (#0),
+ },
+ Group {
+ delimiter: Brace,
+ stream: TokenStream [
+ Punct {
+ ch: '#',
+ spacing: Alone,
+ span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
+ },
+ Punct {
+ ch: '!',
+ spacing: Alone,
+ span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
+ },
+ Group {
+ delimiter: Bracket,
+ stream: TokenStream [
+ Ident {
+ ident: "doc",
+ span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
+ },
+ Punct {
+ ch: '=',
+ spacing: Alone,
+ span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
+ },
+ Literal {
+ kind: StrRaw(0),
+ symbol: " Foo",
+ suffix: None,
+ span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
+ },
+ ],
+ span: $DIR/issue-78675-captured-inner-attrs.rs:28:9: 28:16 (#0),
+ },
+ ],
+ span: $DIR/issue-78675-captured-inner-attrs.rs:27:13: 29:6 (#0),
+ },
+ ],
+ span: $DIR/issue-78675-captured-inner-attrs.rs:22:13: 22:18 (#4),
+ },
+ ],
+ span: $DIR/issue-78675-captured-inner-attrs.rs:20:14: 23:10 (#4),
+ },
+]