summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/issue-81007-item-attrs.stdout
blob: 3c001e9954b5e440eed0175e791d2761e01cc2ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
PRINT-ATTR INPUT (DISPLAY): #[doc = r" A doc comment"] struct Foo {}
PRINT-ATTR INPUT (DEBUG): TokenStream [
    Punct {
        ch: '#',
        spacing: Alone,
        span: $DIR/issue-81007-item-attrs.rs:21:5: 21:22 (#0),
    },
    Group {
        delimiter: Bracket,
        stream: TokenStream [
            Ident {
                ident: "doc",
                span: $DIR/issue-81007-item-attrs.rs:21:5: 21:22 (#0),
            },
            Punct {
                ch: '=',
                spacing: Alone,
                span: $DIR/issue-81007-item-attrs.rs:21:5: 21:22 (#0),
            },
            Literal {
                kind: StrRaw(0),
                symbol: " A doc comment",
                suffix: None,
                span: $DIR/issue-81007-item-attrs.rs:21:5: 21:22 (#0),
            },
        ],
        span: $DIR/issue-81007-item-attrs.rs:21:5: 21:22 (#0),
    },
    Ident {
        ident: "struct",
        span: $DIR/issue-81007-item-attrs.rs:22:5: 22:11 (#0),
    },
    Ident {
        ident: "Foo",
        span: $DIR/issue-81007-item-attrs.rs:22:12: 22:15 (#0),
    },
    Group {
        delimiter: Brace,
        stream: TokenStream [],
        span: $DIR/issue-81007-item-attrs.rs:22:16: 22:18 (#0),
    },
]
PRINT-ATTR INPUT (DISPLAY): #[rustc_dummy] #[doc = r" Another comment comment"] struct Bar {}
PRINT-ATTR INPUT (DEBUG): TokenStream [
    Punct {
        ch: '#',
        spacing: Alone,
        span: $DIR/issue-81007-item-attrs.rs:26:5: 26:6 (#0),
    },
    Group {
        delimiter: Bracket,
        stream: TokenStream [
            Ident {
                ident: "rustc_dummy",
                span: $DIR/issue-81007-item-attrs.rs:26:7: 26:18 (#0),
            },
        ],
        span: $DIR/issue-81007-item-attrs.rs:26:6: 26:19 (#0),
    },
    Punct {
        ch: '#',
        spacing: Alone,
        span: $DIR/issue-81007-item-attrs.rs:27:5: 27:32 (#0),
    },
    Group {
        delimiter: Bracket,
        stream: TokenStream [
            Ident {
                ident: "doc",
                span: $DIR/issue-81007-item-attrs.rs:27:5: 27:32 (#0),
            },
            Punct {
                ch: '=',
                spacing: Alone,
                span: $DIR/issue-81007-item-attrs.rs:27:5: 27:32 (#0),
            },
            Literal {
                kind: StrRaw(0),
                symbol: " Another comment comment",
                suffix: None,
                span: $DIR/issue-81007-item-attrs.rs:27:5: 27:32 (#0),
            },
        ],
        span: $DIR/issue-81007-item-attrs.rs:27:5: 27:32 (#0),
    },
    Ident {
        ident: "struct",
        span: $DIR/issue-81007-item-attrs.rs:28:5: 28:11 (#0),
    },
    Ident {
        ident: "Bar",
        span: $DIR/issue-81007-item-attrs.rs:28:12: 28:15 (#0),
    },
    Group {
        delimiter: Brace,
        stream: TokenStream [],
        span: $DIR/issue-81007-item-attrs.rs:28:16: 28:18 (#0),
    },
]