about summary refs log tree commit diff
path: root/compiler/rustc_passes/messages.ftl
diff options
context:
space:
mode:
authortiif <pekyuan@gmail.com>2025-07-14 13:30:36 +0000
committertiif <pekyuan@gmail.com>2025-07-15 13:48:29 +0000
commitfecd99881d545d6096d5489419f096cffe53b171 (patch)
treecc19b27e244877becc4dea7d9969843e64c64baf /compiler/rustc_passes/messages.ftl
parenta9fb6103b05c6ad6eee6bed4c0bb5a2e8e1024c6 (diff)
downloadrust-fecd99881d545d6096d5489419f096cffe53b171.tar.gz
rust-fecd99881d545d6096d5489419f096cffe53b171.zip
Setup unstable feature bound attribute
Diffstat (limited to 'compiler/rustc_passes/messages.ftl')
-rw-r--r--compiler/rustc_passes/messages.ftl4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl
index 3418d997b83..500b4279588 100644
--- a/compiler/rustc_passes/messages.ftl
+++ b/compiler/rustc_passes/messages.ftl
@@ -667,6 +667,10 @@ passes_rustc_std_internal_symbol =
     attribute should be applied to functions or statics
     .label = not a function or static
 
+passes_rustc_unstable_feature_bound =
+    attribute should be applied to `impl` or free function outside of any `impl` or trait
+    .label = not an `impl` or free function
+
 passes_should_be_applied_to_fn =
     attribute should be applied to a function definition
     .label = {$on_crate ->