@@ -127,17 +127,11 @@ LL | #![inline]
127127error: `macro_export` attribute cannot be used at crate level
128128 --> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:12:1
129129 |
130- LL | #![macro_export]
131- | ^^^^^^^^^^^^^^^^
130+ LL | #![macro_export]
131+ | ^^^^^^^^^^^^^^^^
132132...
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
141135 |
142136help: perhaps you meant to use an outer attribute
143137 |
@@ -148,17 +142,11 @@ LL + #[macro_export]
148142error: `rustc_main` attribute cannot be used at crate level
149143 --> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:14:1
150144 |
151- LL | #![rustc_main]
152- | ^^^^^^^^^^^^^^
145+ LL | #![rustc_main]
146+ | ^^^^^^^^^^^^^^
153147...
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
162150 |
163151help: perhaps you meant to use an outer attribute
164152 |
@@ -169,17 +157,11 @@ LL + #[rustc_main]
169157error: `start` attribute cannot be used at crate level
170158 --> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:16:1
171159 |
172- LL | #![start]
173- | ^^^^^^^^^
160+ LL | #![start]
161+ | ^^^^^^^^^
174162...
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
183165 |
184166help: perhaps you meant to use an outer attribute
185167 |
@@ -190,17 +172,11 @@ LL + #[start]
190172error: `repr` attribute cannot be used at crate level
191173 --> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:18:1
192174 |
193- LL | #![repr()]
194- | ^^^^^^^^^^
175+ LL | #![repr()]
176+ | ^^^^^^^^^^
195177...
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
204180 |
205181help: perhaps you meant to use an outer attribute
206182 |
@@ -211,17 +187,11 @@ LL + #[repr()]
211187error: `path` attribute cannot be used at crate level
212188 --> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:20:1
213189 |
214- LL | #![path = "3800"]
215- | ^^^^^^^^^^^^^^^^^
190+ LL | #![path = "3800"]
191+ | ^^^^^^^^^^^^^^^^^
216192...
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
225195 |
226196help: perhaps you meant to use an outer attribute
227197 |
@@ -232,17 +202,11 @@ LL + #[path = "3800"]
232202error: `automatically_derived` attribute cannot be used at crate level
233203 --> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:22:1
234204 |
235- LL | #![automatically_derived]
236- | ^^^^^^^^^^^^^^^^^^^^^^^^^
205+ LL | #![automatically_derived]
206+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
237207...
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
246210 |
247211help: perhaps you meant to use an outer attribute
248212 |
0 commit comments