about summary refs log tree commit diff
path: root/compiler/rustc_resolve/messages.ftl
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-11-30 20:59:51 +0100
committerRalf Jung <post@ralfj.de>2023-11-30 20:59:51 +0100
commit1dbfe17f12015d6cc37d6359aea1360746acdf69 (patch)
tree278d821ba5ca29bd67eb3d2edc9b7c09ee4ca7ea /compiler/rustc_resolve/messages.ftl
parent07921b50ba6dcb5b2984a1dba039a38d85bffba2 (diff)
downloadrust-1dbfe17f12015d6cc37d6359aea1360746acdf69.tar.gz
rust-1dbfe17f12015d6cc37d6359aea1360746acdf69.zip
generic_const_exprs: suggest to add the feature, not use it
Diffstat (limited to 'compiler/rustc_resolve/messages.ftl')
-rw-r--r--compiler/rustc_resolve/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/messages.ftl b/compiler/rustc_resolve/messages.ftl
index 272483d4a98..0f4b870c5cf 100644
--- a/compiler/rustc_resolve/messages.ftl
+++ b/compiler/rustc_resolve/messages.ftl
@@ -200,7 +200,7 @@ resolve_param_in_non_trivial_anon_const =
     .label = cannot perform const operation using `{$name}`
 
 resolve_param_in_non_trivial_anon_const_help =
-    use `#![feature(generic_const_exprs)]` to allow generic const expressions
+    add `#![feature(generic_const_exprs)]` to allow generic const expressions
 
 resolve_param_in_ty_of_const_param =
     the type of const parameters must not depend on other generic parameters