]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #35417 - Limeth:master, r=jonathandturner
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Sun, 7 Aug 2016 16:59:42 +0000 (09:59 -0700)
committerGitHub <noreply@github.com>
Sun, 7 Aug 2016 16:59:42 +0000 (09:59 -0700)
E0131 updated to new format

Changes
```
error[E0131]: main function is not allowed to have type parameters
  --> src/test/compile-fail/E0131.rs:11:1
   |
11 | fn main<T>() { //~ ERROR E0131
   | ^
```
to
```
error[E0131]: main function is not allowed to have type parameters
  --> src/test/compile-fail/E0131.rs:11:1
   |
11 | fn main<T>() { //~ ERROR E0131
   |        ^^^ main cannot have type parameters
```
Fixes #35257. Part of #35233.
r? @jonathandturner


Trivial merge