summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/input-interpolated.stdout
blob: 6a8789b2c4197a33d027adc64e0168438fc5615c (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
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: #3 bytes(416..421),
    },
    Ident {
        ident: "A",
        span: #0 bytes(503..504),
    },
    Punct {
        ch: ':',
        spacing: Alone,
        span: #3 bytes(424..425),
    },
    Ident {
        ident: "u8",
        span: #3 bytes(426..428),
    },
    Punct {
        ch: '=',
        spacing: Alone,
        span: #3 bytes(429..430),
    },
    Literal {
        kind: Integer,
        symbol: "0",
        suffix: None,
        span: #3 bytes(431..432),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: #3 bytes(432..433),
    },
]
PRINT-DERIVE INPUT (DISPLAY): struct A {}
PRINT-DERIVE INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: #3 bytes(468..474),
    },
    Ident {
        ident: "A",
        span: #0 bytes(503..504),
    },
    Group {
        delimiter: Brace,
        stream: TokenStream [],
        span: #3 bytes(478..480),
    },
]