]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-75734-pp-paren.stdout
Rollup merge of #106978 - mejrs:mir_build3, r=davidtwco
[rust.git] / tests / ui / proc-macro / issue-75734-pp-paren.stdout
1 PRINT-ATTR INPUT (DISPLAY): fn main() { & | _ : u8 | {} ; mul_2! (1 + 1) ; }
2 PRINT-ATTR INPUT (DEBUG): TokenStream [
3     Ident {
4         ident: "fn",
5         span: $DIR/issue-75734-pp-paren.rs:23:1: 23:3 (#0),
6     },
7     Ident {
8         ident: "main",
9         span: $DIR/issue-75734-pp-paren.rs:23:4: 23:8 (#0),
10     },
11     Group {
12         delimiter: Parenthesis,
13         stream: TokenStream [],
14         span: $DIR/issue-75734-pp-paren.rs:23:8: 23:10 (#0),
15     },
16     Group {
17         delimiter: Brace,
18         stream: TokenStream [
19             Punct {
20                 ch: '&',
21                 spacing: Joint,
22                 span: $DIR/issue-75734-pp-paren.rs:24:5: 24:6 (#0),
23             },
24             Punct {
25                 ch: '|',
26                 spacing: Alone,
27                 span: $DIR/issue-75734-pp-paren.rs:24:6: 24:7 (#0),
28             },
29             Ident {
30                 ident: "_",
31                 span: $DIR/issue-75734-pp-paren.rs:24:7: 24:8 (#0),
32             },
33             Punct {
34                 ch: ':',
35                 spacing: Alone,
36                 span: $DIR/issue-75734-pp-paren.rs:24:8: 24:9 (#0),
37             },
38             Ident {
39                 ident: "u8",
40                 span: $DIR/issue-75734-pp-paren.rs:24:10: 24:12 (#0),
41             },
42             Punct {
43                 ch: '|',
44                 spacing: Alone,
45                 span: $DIR/issue-75734-pp-paren.rs:24:12: 24:13 (#0),
46             },
47             Group {
48                 delimiter: Brace,
49                 stream: TokenStream [],
50                 span: $DIR/issue-75734-pp-paren.rs:24:14: 24:16 (#0),
51             },
52             Punct {
53                 ch: ';',
54                 spacing: Alone,
55                 span: $DIR/issue-75734-pp-paren.rs:24:16: 24:17 (#0),
56             },
57             Ident {
58                 ident: "mul_2",
59                 span: $DIR/issue-75734-pp-paren.rs:25:5: 25:10 (#0),
60             },
61             Punct {
62                 ch: '!',
63                 spacing: Alone,
64                 span: $DIR/issue-75734-pp-paren.rs:25:10: 25:11 (#0),
65             },
66             Group {
67                 delimiter: Parenthesis,
68                 stream: TokenStream [
69                     Literal {
70                         kind: Integer,
71                         symbol: "1",
72                         suffix: None,
73                         span: $DIR/issue-75734-pp-paren.rs:25:12: 25:13 (#0),
74                     },
75                     Punct {
76                         ch: '+',
77                         spacing: Alone,
78                         span: $DIR/issue-75734-pp-paren.rs:25:14: 25:15 (#0),
79                     },
80                     Literal {
81                         kind: Integer,
82                         symbol: "1",
83                         suffix: None,
84                         span: $DIR/issue-75734-pp-paren.rs:25:16: 25:17 (#0),
85                     },
86                 ],
87                 span: $DIR/issue-75734-pp-paren.rs:25:11: 25:18 (#0),
88             },
89             Punct {
90                 ch: ';',
91                 spacing: Alone,
92                 span: $DIR/issue-75734-pp-paren.rs:25:18: 25:19 (#0),
93             },
94         ],
95         span: $DIR/issue-75734-pp-paren.rs:23:11: 26:2 (#0),
96     },
97 ]
98 PRINT-BANG INPUT (DISPLAY): 1 + 1 * 2
99 PRINT-BANG INPUT (DEBUG): TokenStream [
100     Group {
101         delimiter: None,
102         stream: TokenStream [
103             Literal {
104                 kind: Integer,
105                 symbol: "1",
106                 suffix: None,
107                 span: $DIR/issue-75734-pp-paren.rs:25:12: 25:13 (#0),
108             },
109             Punct {
110                 ch: '+',
111                 spacing: Alone,
112                 span: $DIR/issue-75734-pp-paren.rs:25:14: 25:15 (#0),
113             },
114             Literal {
115                 kind: Integer,
116                 symbol: "1",
117                 suffix: None,
118                 span: $DIR/issue-75734-pp-paren.rs:25:16: 25:17 (#0),
119             },
120         ],
121         span: $DIR/issue-75734-pp-paren.rs:17:21: 17:25 (#7),
122     },
123     Punct {
124         ch: '*',
125         spacing: Alone,
126         span: $DIR/issue-75734-pp-paren.rs:17:26: 17:27 (#7),
127     },
128     Literal {
129         kind: Integer,
130         symbol: "2",
131         suffix: None,
132         span: $DIR/issue-75734-pp-paren.rs:17:28: 17:29 (#7),
133     },
134 ]