about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/unstable.rs
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-06-19 12:40:50 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-06-19 13:58:23 +0200
commiteefd59872565330fc5905dc5903a56ce93fca47e (patch)
treefa8f7ae9c817229af51dd0ba915d328307bca702 /compiler/rustc_feature/src/unstable.rs
parent8a65ee08296b36342bf7c3cdc15312ccbc357227 (diff)
downloadrust-eefd59872565330fc5905dc5903a56ce93fca47e.tar.gz
rust-eefd59872565330fc5905dc5903a56ce93fca47e.zip
correct template for `#[align]`
it should not suggest just `#[align]`
Diffstat (limited to 'compiler/rustc_feature/src/unstable.rs')
-rw-r--r--compiler/rustc_feature/src/unstable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs
index a7bc6207149..91715851226 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -510,7 +510,7 @@ declare_features! (
     (unstable, ffi_pure, "1.45.0", Some(58329)),
     /// Controlling the behavior of fmt::Debug
     (unstable, fmt_debug, "1.82.0", Some(129709)),
-    /// Allows using `#[repr(align(...))]` on function items
+    /// Allows using `#[align(...)]` on function items
     (unstable, fn_align, "1.53.0", Some(82232)),
     /// Support delegating implementation of functions to other already implemented functions.
     (incomplete, fn_delegation, "1.76.0", Some(118212)),