]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/attr-complex-fn.stdout
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / proc-macro / attr-complex-fn.stdout
CommitLineData
6a06907d
XL
1PRINT-ATTR INPUT (DISPLAY): fn foo < T : MyTrait < MyStruct < { true } >> > () { }
2PRINT-ATTR INPUT (DEBUG): TokenStream [
3 Ident {
4 ident: "fn",
5 span: $DIR/attr-complex-fn.rs:19:1: 19:3 (#0),
6 },
7 Ident {
8 ident: "foo",
9 span: $DIR/attr-complex-fn.rs:19:4: 19:7 (#0),
10 },
11 Punct {
12 ch: '<',
13 spacing: Alone,
14 span: $DIR/attr-complex-fn.rs:19:7: 19:8 (#0),
15 },
16 Ident {
17 ident: "T",
18 span: $DIR/attr-complex-fn.rs:19:8: 19:9 (#0),
19 },
20 Punct {
21 ch: ':',
22 spacing: Alone,
23 span: $DIR/attr-complex-fn.rs:19:9: 19:10 (#0),
24 },
25 Ident {
26 ident: "MyTrait",
27 span: $DIR/attr-complex-fn.rs:19:11: 19:18 (#0),
28 },
29 Punct {
30 ch: '<',
31 spacing: Alone,
32 span: $DIR/attr-complex-fn.rs:19:18: 19:19 (#0),
33 },
34 Ident {
35 ident: "MyStruct",
36 span: $DIR/attr-complex-fn.rs:19:19: 19:27 (#0),
37 },
38 Punct {
39 ch: '<',
40 spacing: Alone,
41 span: $DIR/attr-complex-fn.rs:19:27: 19:28 (#0),
42 },
43 Group {
44 delimiter: Brace,
45 stream: TokenStream [
46 Ident {
47 ident: "true",
48 span: $DIR/attr-complex-fn.rs:19:30: 19:34 (#0),
49 },
50 ],
51 span: $DIR/attr-complex-fn.rs:19:28: 19:36 (#0),
52 },
53 Punct {
54 ch: '>',
55 spacing: Joint,
56 span: $DIR/attr-complex-fn.rs:19:36: 19:38 (#0),
57 },
58 Punct {
59 ch: '>',
60 spacing: Joint,
61 span: $DIR/attr-complex-fn.rs:19:36: 19:38 (#0),
62 },
63 Punct {
64 ch: '>',
65 spacing: Alone,
66 span: $DIR/attr-complex-fn.rs:19:38: 19:39 (#0),
67 },
68 Group {
69 delimiter: Parenthesis,
70 stream: TokenStream [],
71 span: $DIR/attr-complex-fn.rs:19:39: 19:41 (#0),
72 },
73 Group {
74 delimiter: Brace,
75 stream: TokenStream [],
76 span: $DIR/attr-complex-fn.rs:19:42: 19:44 (#0),
77 },
78]
79PRINT-ATTR INPUT (DISPLAY): impl < T > MyTrait < T > for MyStruct < { true } > { # ! [rustc_dummy] }
80PRINT-ATTR INPUT (DEBUG): TokenStream [
81 Ident {
82 ident: "impl",
83 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
84 },
85 Punct {
86 ch: '<',
87 spacing: Alone,
88 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
89 },
90 Ident {
91 ident: "T",
92 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
93 },
94 Punct {
95 ch: '>',
96 spacing: Alone,
97 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
98 },
99 Ident {
100 ident: "MyTrait",
101 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
102 },
103 Punct {
104 ch: '<',
105 spacing: Alone,
106 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
107 },
108 Ident {
109 ident: "T",
110 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
111 },
112 Punct {
113 ch: '>',
114 spacing: Alone,
115 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
116 },
117 Ident {
118 ident: "for",
119 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
120 },
121 Ident {
122 ident: "MyStruct",
123 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
124 },
125 Punct {
126 ch: '<',
127 spacing: Alone,
128 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
129 },
130 Group {
131 delimiter: Brace,
132 stream: TokenStream [
133 Ident {
134 ident: "true",
135 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
136 },
137 ],
138 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
139 },
140 Punct {
141 ch: '>',
142 spacing: Alone,
143 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
144 },
145 Group {
146 delimiter: Brace,
147 stream: TokenStream [
148 Punct {
149 ch: '#',
150 spacing: Joint,
151 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
152 },
153 Punct {
154 ch: '!',
155 spacing: Alone,
156 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
157 },
158 Group {
159 delimiter: Bracket,
160 stream: TokenStream [
161 Ident {
162 ident: "rustc_dummy",
163 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
164 },
165 ],
166 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
167 },
168 ],
169 span: $DIR/attr-complex-fn.rs:21:1: 24:2 (#0),
170 },
171]