Pluralize E0087-E0090 messages based on number of parameters.
This commit is contained in:
parent
d8d4a6a842
commit
fbef978fd7
2 changed files with 23 additions and 12 deletions
|
|
@ -12,5 +12,5 @@ use std::borrow::IntoCow;
|
|||
|
||||
fn main() {
|
||||
<String as IntoCow>::into_cow("foo".to_string());
|
||||
//~^ ERROR too few type parameters provided: expected 1 parameter(s)
|
||||
//~^ ERROR too few type parameters provided: expected 1 parameter
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue