rustdoc: add missing article
Co-authored-by: Jacob Hoffman-Andrews <github@hoffman-andrews.com>
This commit is contained in:
parent
95ae4c9295
commit
94396711dd
2 changed files with 2 additions and 2 deletions
|
@ -815,7 +815,7 @@ impl CheckAttrVisitor<'_> {
|
||||||
.sess
|
.sess
|
||||||
.struct_span_err(
|
.struct_span_err(
|
||||||
meta.span(),
|
meta.span(),
|
||||||
"`#[doc(tuple_variadic)]` must used on the first of a set of tuple trait impls with varying arity",
|
"`#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity",
|
||||||
)
|
)
|
||||||
.emit();
|
.emit();
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
error: `#[doc(tuple_variadic)]` must used on the first of a set of tuple trait impls with varying arity
|
error: `#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity
|
||||||
--> $DIR/tuple-variadic-check.rs:12:7
|
--> $DIR/tuple-variadic-check.rs:12:7
|
||||||
|
|
|
|
||||||
LL | #[doc(tuple_variadic)]
|
LL | #[doc(tuple_variadic)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue