E0131 updated to new format

This commit is contained in:
Jakub Hlusička 2016-08-07 00:09:54 +02:00
parent 444ff9fbfb
commit 5e06da29a7
2 changed files with 12 additions and 6 deletions

View file

@ -8,5 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
fn main<T>() { //~ ERROR E0131
fn main<T>() {
//~^ ERROR E0131
//~| NOTE main cannot have type parameters
}