syntax: don't use TraitRef in QPath.
This commit is contained in:
parent
a817c69297
commit
004df413aa
23 changed files with 143 additions and 146 deletions
|
|
@ -12,5 +12,5 @@ use std::borrow::IntoCow;
|
|||
|
||||
fn main() {
|
||||
<String as IntoCow>::into_cow("foo".to_string());
|
||||
//~^ ERROR wrong number of type arguments: expected 1, found 0
|
||||
//~^ ERROR too few type parameters provided: expected 1 parameter(s)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue