diff options
| author | Michael Howell <michael@notriddle.com> | 2022-06-16 09:50:57 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-07-17 16:32:06 -0700 |
| commit | 1169832f2ff1ce740dc3d68de2df3745ec4e1aef (patch) | |
| tree | 787992af670a5860306399e1fdc94e5818dbc0fc /compiler/rustc_error_messages | |
| parent | 263edd43c5255084292329423c61a9d69715ebfa (diff) | |
| download | rust-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.ftl | 4 |
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 |
