Rollup merge of #108401 - notriddle:notriddle/diagnostics-article, r=compiler-errors
diagnostics: remove inconsistent English article "this" from E0107 Consider [`tests/ui/const-generics/generic_const_exprs/issue-102768.stderr`][issue-102768.stderr], the error message where it gives additional notes about where the associated type is defined, and how the dead code lint doesn't have an article, like in [`tests/ui/lint/dead-code/issue-85255.stderr`][issue-85255.stderr]. They don't have articles, so it seems unnecessary to have one here. [issue-102768.stderr]:07c993eba8/tests/ui/const-generics/generic_const_exprs/issue-102768.stderr
[issue-85255.stderr]:07c993eba8/tests/ui/lint/dead-code/issue-85255.stderr
This commit is contained in:
commit
c77cf40df0
112 changed files with 340 additions and 340 deletions
|
@ -462,7 +462,7 @@ impl<'a, 'tcx> WrongNumberOfGenericArgs<'a, 'tcx> {
|
|||
|
||||
if self.gen_args.span_ext().is_some() {
|
||||
format!(
|
||||
"this {} takes {}{} {} argument{} but {} {} supplied",
|
||||
"{} takes {}{} {} argument{} but {} {} supplied",
|
||||
def_kind,
|
||||
quantifier,
|
||||
bound,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue