Skip to content

Commit 9439671

Browse files
notriddlejsha
andcommitted
rustdoc: add missing article
Co-authored-by: Jacob Hoffman-Andrews <[email protected]>
1 parent 95ae4c9 commit 9439671

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_passes/src/check_attr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ impl CheckAttrVisitor<'_> {
815815
.sess
816816
.struct_span_err(
817817
meta.span(),
818-
"`#[doc(tuple_variadic)]` must used on the first of a set of tuple trait impls with varying arity",
818+
"`#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity",
819819
)
820820
.emit();
821821
return false;

src/test/rustdoc-ui/tuple-variadic-check.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: `#[doc(tuple_variadic)]` must used on the first of a set of tuple trait impls with varying arity
1+
error: `#[doc(tuple_variadic)]` must be used on the first of a set of tuple trait impls with varying arity
22
--> $DIR/tuple-variadic-check.rs:12:7
33
|
44
LL | #[doc(tuple_variadic)]

0 commit comments

Comments
 (0)