diagnostics: remove inconsistent English article "this" from E0107
Consider `tests/ui/const-generics/generic_const_exprs/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`. They don't have articles, so it seems unnecessary to have one here.
This commit is contained in:
parent
0978711950
commit
a5b639dc01
111 changed files with 339 additions and 339 deletions
|
@ -1,4 +1,4 @@
|
|||
error[E0107]: this function takes 1 generic argument but 2 generic arguments were supplied
|
||||
error[E0107]: function takes 1 generic argument but 2 generic arguments were supplied
|
||||
--> $DIR/explicit-generic-args-for-impl.rs:4:5
|
||||
|
|
||||
LL | foo::<str, String>("".to_string());
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error[E0107]: this function takes 2 generic arguments but 1 generic argument was supplied
|
||||
error[E0107]: function takes 2 generic arguments but 1 generic argument was supplied
|
||||
--> $DIR/not-enough-args.rs:4:5
|
||||
|
|
||||
LL | f::<[u8]>("a", b"a");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue