]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/dollar-crate.stdout
add tests for 107090
[rust.git] / tests / ui / proc-macro / dollar-crate.stdout
1 PRINT-BANG INPUT (DISPLAY): struct M($crate :: S) ;
2 PRINT-BANG INPUT (DEBUG): TokenStream [
3     Ident {
4         ident: "struct",
5         span: $DIR/dollar-crate.rs:20:17: 20:23 (#4),
6     },
7     Ident {
8         ident: "M",
9         span: $DIR/dollar-crate.rs:20:24: 20:25 (#4),
10     },
11     Group {
12         delimiter: Parenthesis,
13         stream: TokenStream [
14             Ident {
15                 ident: "$crate",
16                 span: $DIR/dollar-crate.rs:20:26: 20:32 (#4),
17             },
18             Punct {
19                 ch: ':',
20                 spacing: Joint,
21                 span: $DIR/dollar-crate.rs:20:32: 20:33 (#4),
22             },
23             Punct {
24                 ch: ':',
25                 spacing: Alone,
26                 span: $DIR/dollar-crate.rs:20:33: 20:34 (#4),
27             },
28             Ident {
29                 ident: "S",
30                 span: $DIR/dollar-crate.rs:20:34: 20:35 (#4),
31             },
32         ],
33         span: $DIR/dollar-crate.rs:20:25: 20:36 (#4),
34     },
35     Punct {
36         ch: ';',
37         spacing: Alone,
38         span: $DIR/dollar-crate.rs:20:36: 20:37 (#4),
39     },
40 ]
41 PRINT-ATTR INPUT (DISPLAY): struct A($crate :: S) ;
42 PRINT-ATTR INPUT (DEBUG): TokenStream [
43     Ident {
44         ident: "struct",
45         span: $DIR/dollar-crate.rs:24:13: 24:19 (#4),
46     },
47     Ident {
48         ident: "A",
49         span: $DIR/dollar-crate.rs:24:20: 24:21 (#4),
50     },
51     Group {
52         delimiter: Parenthesis,
53         stream: TokenStream [
54             Ident {
55                 ident: "$crate",
56                 span: $DIR/dollar-crate.rs:24:22: 24:28 (#4),
57             },
58             Punct {
59                 ch: ':',
60                 spacing: Joint,
61                 span: $DIR/dollar-crate.rs:24:28: 24:29 (#4),
62             },
63             Punct {
64                 ch: ':',
65                 spacing: Alone,
66                 span: $DIR/dollar-crate.rs:24:29: 24:30 (#4),
67             },
68             Ident {
69                 ident: "S",
70                 span: $DIR/dollar-crate.rs:24:30: 24:31 (#4),
71             },
72         ],
73         span: $DIR/dollar-crate.rs:24:21: 24:32 (#4),
74     },
75     Punct {
76         ch: ';',
77         spacing: Alone,
78         span: $DIR/dollar-crate.rs:24:32: 24:33 (#4),
79     },
80 ]
81 PRINT-DERIVE INPUT (DISPLAY): struct D($crate :: S) ;
82 PRINT-DERIVE INPUT (DEBUG): TokenStream [
83     Ident {
84         ident: "struct",
85         span: $DIR/dollar-crate.rs:27:13: 27:19 (#4),
86     },
87     Ident {
88         ident: "D",
89         span: $DIR/dollar-crate.rs:27:20: 27:21 (#4),
90     },
91     Group {
92         delimiter: Parenthesis,
93         stream: TokenStream [
94             Ident {
95                 ident: "$crate",
96                 span: $DIR/dollar-crate.rs:27:22: 27:28 (#4),
97             },
98             Punct {
99                 ch: ':',
100                 spacing: Joint,
101                 span: $DIR/dollar-crate.rs:27:28: 27:29 (#4),
102             },
103             Punct {
104                 ch: ':',
105                 spacing: Alone,
106                 span: $DIR/dollar-crate.rs:27:29: 27:30 (#4),
107             },
108             Ident {
109                 ident: "S",
110                 span: $DIR/dollar-crate.rs:27:30: 27:31 (#4),
111             },
112         ],
113         span: $DIR/dollar-crate.rs:27:21: 27:32 (#4),
114     },
115     Punct {
116         ch: ';',
117         spacing: Alone,
118         span: $DIR/dollar-crate.rs:27:32: 27:33 (#4),
119     },
120 ]
121 PRINT-BANG INPUT (DISPLAY): struct M($crate :: S) ;
122 PRINT-BANG INPUT (DEBUG): TokenStream [
123     Ident {
124         ident: "struct",
125         span: $DIR/auxiliary/dollar-crate-external.rs:7:13: 7:19 (#15),
126     },
127     Ident {
128         ident: "M",
129         span: $DIR/auxiliary/dollar-crate-external.rs:7:20: 7:21 (#15),
130     },
131     Group {
132         delimiter: Parenthesis,
133         stream: TokenStream [
134             Ident {
135                 ident: "$crate",
136                 span: $DIR/auxiliary/dollar-crate-external.rs:7:22: 7:28 (#15),
137             },
138             Punct {
139                 ch: ':',
140                 spacing: Joint,
141                 span: $DIR/auxiliary/dollar-crate-external.rs:7:28: 7:29 (#15),
142             },
143             Punct {
144                 ch: ':',
145                 spacing: Alone,
146                 span: $DIR/auxiliary/dollar-crate-external.rs:7:29: 7:30 (#15),
147             },
148             Ident {
149                 ident: "S",
150                 span: $DIR/auxiliary/dollar-crate-external.rs:7:30: 7:31 (#15),
151             },
152         ],
153         span: $DIR/auxiliary/dollar-crate-external.rs:7:21: 7:32 (#15),
154     },
155     Punct {
156         ch: ';',
157         spacing: Alone,
158         span: $DIR/auxiliary/dollar-crate-external.rs:7:32: 7:33 (#15),
159     },
160 ]
161 PRINT-ATTR INPUT (DISPLAY): struct A($crate :: S) ;
162 PRINT-ATTR INPUT (DEBUG): TokenStream [
163     Ident {
164         ident: "struct",
165         span: $DIR/auxiliary/dollar-crate-external.rs:11:9: 11:15 (#15),
166     },
167     Ident {
168         ident: "A",
169         span: $DIR/auxiliary/dollar-crate-external.rs:11:16: 11:17 (#15),
170     },
171     Group {
172         delimiter: Parenthesis,
173         stream: TokenStream [
174             Ident {
175                 ident: "$crate",
176                 span: $DIR/auxiliary/dollar-crate-external.rs:11:18: 11:24 (#15),
177             },
178             Punct {
179                 ch: ':',
180                 spacing: Joint,
181                 span: $DIR/auxiliary/dollar-crate-external.rs:11:24: 11:25 (#15),
182             },
183             Punct {
184                 ch: ':',
185                 spacing: Alone,
186                 span: $DIR/auxiliary/dollar-crate-external.rs:11:25: 11:26 (#15),
187             },
188             Ident {
189                 ident: "S",
190                 span: $DIR/auxiliary/dollar-crate-external.rs:11:26: 11:27 (#15),
191             },
192         ],
193         span: $DIR/auxiliary/dollar-crate-external.rs:11:17: 11:28 (#15),
194     },
195     Punct {
196         ch: ';',
197         spacing: Alone,
198         span: $DIR/auxiliary/dollar-crate-external.rs:11:28: 11:29 (#15),
199     },
200 ]
201 PRINT-DERIVE INPUT (DISPLAY): struct D($crate :: S) ;
202 PRINT-DERIVE INPUT (DEBUG): TokenStream [
203     Ident {
204         ident: "struct",
205         span: $DIR/auxiliary/dollar-crate-external.rs:14:9: 14:15 (#15),
206     },
207     Ident {
208         ident: "D",
209         span: $DIR/auxiliary/dollar-crate-external.rs:14:16: 14:17 (#15),
210     },
211     Group {
212         delimiter: Parenthesis,
213         stream: TokenStream [
214             Ident {
215                 ident: "$crate",
216                 span: $DIR/auxiliary/dollar-crate-external.rs:14:18: 14:24 (#15),
217             },
218             Punct {
219                 ch: ':',
220                 spacing: Joint,
221                 span: $DIR/auxiliary/dollar-crate-external.rs:14:24: 14:25 (#15),
222             },
223             Punct {
224                 ch: ':',
225                 spacing: Alone,
226                 span: $DIR/auxiliary/dollar-crate-external.rs:14:25: 14:26 (#15),
227             },
228             Ident {
229                 ident: "S",
230                 span: $DIR/auxiliary/dollar-crate-external.rs:14:26: 14:27 (#15),
231             },
232         ],
233         span: $DIR/auxiliary/dollar-crate-external.rs:14:17: 14:28 (#15),
234     },
235     Punct {
236         ch: ';',
237         spacing: Alone,
238         span: $DIR/auxiliary/dollar-crate-external.rs:14:28: 14:29 (#15),
239     },
240 ]