@@ -127,17 +127,11 @@ LL | #![inline]
127
127
error: `macro_export` attribute cannot be used at crate level
128
128
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:12:1
129
129
|
130
- LL | #![macro_export]
131
- | ^^^^^^^^^^^^^^^^
130
+ LL | #![macro_export]
131
+ | ^^^^^^^^^^^^^^^^
132
132
...
133
- LL | / mod inline {
134
- LL | |
135
- LL | |
136
- LL | |
137
- ... |
138
- LL | |
139
- LL | | }
140
- | |_- the inner attribute doesn't annotate this module
133
+ LL | mod inline {
134
+ | ------ the inner attribute doesn't annotate this module
141
135
|
142
136
help: perhaps you meant to use an outer attribute
143
137
|
@@ -148,17 +142,11 @@ LL + #[macro_export]
148
142
error: `rustc_main` attribute cannot be used at crate level
149
143
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:14:1
150
144
|
151
- LL | #![rustc_main]
152
- | ^^^^^^^^^^^^^^
145
+ LL | #![rustc_main]
146
+ | ^^^^^^^^^^^^^^
153
147
...
154
- LL | / mod inline {
155
- LL | |
156
- LL | |
157
- LL | |
158
- ... |
159
- LL | |
160
- LL | | }
161
- | |_- the inner attribute doesn't annotate this module
148
+ LL | mod inline {
149
+ | ------ the inner attribute doesn't annotate this module
162
150
|
163
151
help: perhaps you meant to use an outer attribute
164
152
|
@@ -169,17 +157,11 @@ LL + #[rustc_main]
169
157
error: `start` attribute cannot be used at crate level
170
158
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:16:1
171
159
|
172
- LL | #![start]
173
- | ^^^^^^^^^
160
+ LL | #![start]
161
+ | ^^^^^^^^^
174
162
...
175
- LL | / mod inline {
176
- LL | |
177
- LL | |
178
- LL | |
179
- ... |
180
- LL | |
181
- LL | | }
182
- | |_- the inner attribute doesn't annotate this module
163
+ LL | mod inline {
164
+ | ------ the inner attribute doesn't annotate this module
183
165
|
184
166
help: perhaps you meant to use an outer attribute
185
167
|
@@ -190,17 +172,11 @@ LL + #[start]
190
172
error: `repr` attribute cannot be used at crate level
191
173
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:18:1
192
174
|
193
- LL | #![repr()]
194
- | ^^^^^^^^^^
175
+ LL | #![repr()]
176
+ | ^^^^^^^^^^
195
177
...
196
- LL | / mod inline {
197
- LL | |
198
- LL | |
199
- LL | |
200
- ... |
201
- LL | |
202
- LL | | }
203
- | |_- the inner attribute doesn't annotate this module
178
+ LL | mod inline {
179
+ | ------ the inner attribute doesn't annotate this module
204
180
|
205
181
help: perhaps you meant to use an outer attribute
206
182
|
@@ -211,17 +187,11 @@ LL + #[repr()]
211
187
error: `path` attribute cannot be used at crate level
212
188
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:20:1
213
189
|
214
- LL | #![path = "3800"]
215
- | ^^^^^^^^^^^^^^^^^
190
+ LL | #![path = "3800"]
191
+ | ^^^^^^^^^^^^^^^^^
216
192
...
217
- LL | / mod inline {
218
- LL | |
219
- LL | |
220
- LL | |
221
- ... |
222
- LL | |
223
- LL | | }
224
- | |_- the inner attribute doesn't annotate this module
193
+ LL | mod inline {
194
+ | ------ the inner attribute doesn't annotate this module
225
195
|
226
196
help: perhaps you meant to use an outer attribute
227
197
|
@@ -232,17 +202,11 @@ LL + #[path = "3800"]
232
202
error: `automatically_derived` attribute cannot be used at crate level
233
203
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:22:1
234
204
|
235
- LL | #![automatically_derived]
236
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
205
+ LL | #![automatically_derived]
206
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
237
207
...
238
- LL | / mod inline {
239
- LL | |
240
- LL | |
241
- LL | |
242
- ... |
243
- LL | |
244
- LL | | }
245
- | |_- the inner attribute doesn't annotate this module
208
+ LL | mod inline {
209
+ | ------ the inner attribute doesn't annotate this module
246
210
|
247
211
help: perhaps you meant to use an outer attribute
248
212
|
0 commit comments