syntax: don't use TraitRef in QPath.

This commit is contained in:
Eduard Burtescu 2015-01-30 10:09:44 +02:00
parent a817c69297
commit 004df413aa
23 changed files with 143 additions and 146 deletions

View file

@ -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)
}