Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e5aa2dd

Browse files
committed
builtin_attrs.rs: retain FIXMEs.
1 parent d286fe0 commit e5aa2dd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/libsyntax/feature_gate/builtin_attrs.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
191191
// Macros:
192192
ungated!(derive, Normal, template!(List: "Trait1, Trait2, ...")),
193193
ungated!(automatically_derived, Normal, template!(Word)),
194+
// FIXME(#14407)
194195
ungated!(macro_use, Normal, template!(Word, List: "name1, name2, ...")),
195196
ungated!(macro_escape, Normal, template!(Word)), // Deprecated synonym for `macro_use`.
196197
ungated!(macro_export, Normal, template!(Word, List: "local_inner_macros")),
@@ -207,6 +208,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
207208
ungated!(forbid, Normal, template!(List: r#"lint1, lint2, ..., /*opt*/ reason = "...""#)),
208209
ungated!(deny, Normal, template!(List: r#"lint1, lint2, ..., /*opt*/ reason = "...""#)),
209210
ungated!(must_use, Whitelisted, template!(Word, NameValueStr: "reason")),
211+
// FIXME(#14407)
210212
ungated!(
211213
deprecated, Normal,
212214
template!(
@@ -310,13 +312,15 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
310312
// ==========================================================================
311313

312314
ungated!(feature, CrateLevel, template!(List: "name1, name1, ...")),
313-
// FIXME: #14407 these are only looked at on-demand so we can't
314-
// guarantee they'll have already been checked
315+
// FIXME(#14407) -- only looked at on-demand so we can't
316+
// guarantee they'll have already been checked.
315317
ungated!(
316318
rustc_deprecated, Whitelisted,
317319
template!(List: r#"since = "version", reason = "...""#)
318320
),
321+
// FIXME(#14407)
319322
ungated!(stable, Whitelisted, template!(List: r#"feature = "name", since = "version""#)),
323+
// FIXME(#14407)
320324
ungated!(
321325
unstable, Whitelisted,
322326
template!(List: r#"feature = "name", reason = "...", issue = "N""#),

0 commit comments

Comments
 (0)