about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-01 06:32:25 +0000
committerbors <bors@rust-lang.org>2023-12-01 06:32:25 +0000
commit9bf30ebdfa50db6286d9400615c2bcb324c1a587 (patch)
tree287c315a62c74231a4b1c551faadc854179c39aa /compiler
parenta1c65db95cf79c23dceaf1b59038819f115bdf11 (diff)
parent65026fae88d1702832708d2597872a3f92b5d5dc (diff)
downloadrust-9bf30ebdfa50db6286d9400615c2bcb324c1a587.tar.gz
rust-9bf30ebdfa50db6286d9400615c2bcb324c1a587.zip
Auto merge of #118493 - TaKO8Ki:rollup-jfkdbyo, r=TaKO8Ki
Rollup of 3 pull requests

Successful merges:

 - #118483 (rustdoc: `div.where` instead of fmt-newline class)
 - #118486 (generic_const_exprs: suggest to add the feature, not use it)
 - #118489 (Wesley is on vacation)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler')
-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