Skip to content

Commit f17e81d

Browse files
committed
mark autodiff_into as builtin and permanently unstable
1 parent 3e89575 commit f17e81d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

compiler/rustc_feature/src/builtin_attrs.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
361361
large_assignments, experimental!(move_size_limit)
362362
),
363363

364-
// Autodiff
365-
ungated!(
366-
autodiff_into, Normal,
367-
template!(Word, List: r#""...""#),
368-
DuplicatesOk,
369-
),
370-
371364
// Entry point:
372365
gated!(unix_sigpipe, Normal, template!(Word, NameValueStr: "inherit|sig_ign|sig_dfl"), ErrorFollowing, experimental!(unix_sigpipe)),
373366
ungated!(start, Normal, template!(Word), WarnFollowing),
@@ -595,6 +588,9 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
595588
IMPL_DETAIL,
596589
),
597590
rustc_attr!(rustc_proc_macro_decls, Normal, template!(Word), WarnFollowing, INTERNAL_UNSTABLE),
591+
// Autodiff
592+
rustc_attr!(autodiff_into, Normal, template!(Word, List: r#""...""#), DuplicatesOk, INTERNAL_UNSTABLE),
593+
598594
rustc_attr!(
599595
rustc_macro_transparency, Normal,
600596
template!(NameValueStr: "transparent|semitransparent|opaque"), ErrorFollowing,

0 commit comments

Comments
 (0)