Skip to content

Commit d9f892c

Browse files
committed
fix: tidy use sorting, rustc version, and issue attribution
1 parent 9eef092 commit d9f892c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

compiler/rustc_feature/src/unstable.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,10 @@ declare_features! (
424424
(unstable, closure_track_caller, "1.57.0", Some(87417)),
425425
/// Allows `extern "cmse-nonsecure-entry" fn()`.
426426
(unstable, cmse_nonsecure_entry, "1.48.0", Some(75835)),
427-
/// Allows paths to const items in selected builtin attribute arguments.
428-
(unstable, const_attr_paths, "1.96.0", None),
429427
/// Allows `async {}` expressions in const contexts.
430428
(unstable, const_async_blocks, "1.53.0", Some(85368)),
429+
/// Allows paths to const items in selected builtin attribute arguments.
430+
(unstable, const_attr_paths, "CURRENT_RUSTC_VERSION", Some(52840)),
431431
/// Allows `const { ... }` as a shorthand for `const _: () = const { ... };` for module items.
432432
(unstable, const_block_items, "1.95.0", Some(149226)),
433433
/// Allows defining and calling c-variadic functions in const contexts.

compiler/rustc_span/src/symbol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ symbols! {
643643
console,
644644
const_allocate,
645645
const_async_blocks,
646+
const_attr_paths,
646647
const_block_items,
647648
const_c_variadic,
648649
const_closures,
@@ -662,7 +663,6 @@ symbols! {
662663
const_fn_transmute,
663664
const_fn_union,
664665
const_fn_unsize,
665-
const_attr_paths,
666666
const_for,
667667
const_format_args,
668668
const_generics,

0 commit comments

Comments
 (0)