We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ae4c9 commit 9439671Copy full SHA for 9439671
compiler/rustc_passes/src/check_attr.rs
@@ -815,7 +815,7 @@ impl CheckAttrVisitor<'_> {
815
.sess
816
.struct_span_err(
817
meta.span(),
818
- "`#[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",
819
)
820
.emit();
821
return false;
src/test/rustdoc-ui/tuple-variadic-check.stderr
@@ -1,4 +1,4 @@
1
-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
2
--> $DIR/tuple-variadic-check.rs:12:7
3
|
4
LL | #[doc(tuple_variadic)]
0 commit comments