summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/nonterminal-recollect-attr.stdout
blob: e722ee97d4cc2481e859d6a4331e210e7860f01d (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
First recollected: TokenStream [
    Ident {
        ident: "pub",
        span: $DIR/nonterminal-recollect-attr.rs:20:11: 20:14 (#0),
    },
    Ident {
        ident: "struct",
        span: $DIR/nonterminal-recollect-attr.rs:14:12: 14:18 (#3),
    },
    Ident {
        ident: "Foo",
        span: $DIR/nonterminal-recollect-attr.rs:14:19: 14:22 (#3),
    },
    Group {
        delimiter: Brace,
        stream: TokenStream [
            Ident {
                ident: "field",
                span: $DIR/nonterminal-recollect-attr.rs:15:13: 15:18 (#3),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/nonterminal-recollect-attr.rs:15:18: 15:19 (#3),
            },
            Ident {
                ident: "u8",
                span: $DIR/nonterminal-recollect-attr.rs:15:20: 15:22 (#3),
            },
        ],
        span: $DIR/nonterminal-recollect-attr.rs:14:23: 16:10 (#3),
    },
]
Second recollected: TokenStream [
    Ident {
        ident: "pub",
        span: $DIR/nonterminal-recollect-attr.rs:20:11: 20:14 (#0),
    },
    Ident {
        ident: "struct",
        span: $DIR/nonterminal-recollect-attr.rs:14:12: 14:18 (#3),
    },
    Ident {
        ident: "Foo",
        span: $DIR/nonterminal-recollect-attr.rs:14:19: 14:22 (#3),
    },
    Group {
        delimiter: Brace,
        stream: TokenStream [
            Ident {
                ident: "field",
                span: $DIR/nonterminal-recollect-attr.rs:15:13: 15:18 (#3),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/nonterminal-recollect-attr.rs:15:18: 15:19 (#3),
            },
            Ident {
                ident: "u8",
                span: $DIR/nonterminal-recollect-attr.rs:15:20: 15:22 (#3),
            },
        ],
        span: $DIR/nonterminal-recollect-attr.rs:14:23: 16:10 (#3),
    },
]