about summary refs log tree commit diff
path: root/compiler/rustc_error_messages
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-06-16 09:50:57 -0700
committerMichael Howell <michael@notriddle.com>2022-07-17 16:32:06 -0700
commit1169832f2ff1ce740dc3d68de2df3745ec4e1aef (patch)
tree787992af670a5860306399e1fdc94e5818dbc0fc /compiler/rustc_error_messages
parent263edd43c5255084292329423c61a9d69715ebfa (diff)
downloadrust-1169832f2ff1ce740dc3d68de2df3745ec4e1aef.tar.gz
rust-1169832f2ff1ce740dc3d68de2df3745ec4e1aef.zip
rustdoc: extend `#[doc(tuple_variadic)]` to fn pointers
The attribute is also renamed `fake_variadic`.
Diffstat (limited to 'compiler/rustc_error_messages')
-rw-r--r--compiler/rustc_error_messages/locales/en-US/passes.ftl4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/passes.ftl b/compiler/rustc_error_messages/locales/en-US/passes.ftl
index e4c9a4dad7b..04c67cf8ff7 100644
--- a/compiler/rustc_error_messages/locales/en-US/passes.ftl
+++ b/compiler/rustc_error_messages/locales/en-US/passes.ftl
@@ -81,8 +81,8 @@ passes-doc-keyword-not-mod = `#[doc(keyword = "...")]` should be used on modules
 
 passes-doc-keyword-invalid-ident = `{$doc_keyword}` is not a valid identifier
 
-passes-doc-tuple-variadic-not-first =
-    `#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity
+passes-doc-fake-variadic-not-valid =
+    `#[doc(fake_variadic)]` must be used on the first of a set of tuple or fn pointer trait impls with varying arity
 
 passes-doc-keyword-only-impl = `#[doc(keyword = "...")]` should be used on impl blocks