Update E0089 to new error format

This commit is contained in:
zjhmale 2016-08-29 22:31:08 +08:00
parent 86dde9bbda
commit 01083baec2
2 changed files with 15 additions and 9 deletions

View file

@ -11,5 +11,7 @@
fn foo<T, U>() {}
fn main() {
foo::<f64>(); //~ ERROR E0089
foo::<f64>();
//~^ ERROR E0089
//~| NOTE expected 2 type parameters
}