about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorJakub Hlusička <jakub.hlusicka@email.cz>2016-08-07 00:09:54 +0200
committerJakub Hlusička <jakub.hlusicka@email.cz>2016-08-07 00:09:54 +0200
commit5e06da29a73bba354903ba7dc1eddf3434ac112e (patch)
treeaa85ea2a97c2a59f1efd2e6998c42d8d05458578 /src/test
parent444ff9fbfb1f2a8e6645f67684f8a9ad99b343d3 (diff)
downloadrust-5e06da29a73bba354903ba7dc1eddf3434ac112e.tar.gz
rust-5e06da29a73bba354903ba7dc1eddf3434ac112e.zip
E0131 updated to new format
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/E0131.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0131.rs b/src/test/compile-fail/E0131.rs
index aa11577ccdf..e6e924e2d96 100644
--- a/src/test/compile-fail/E0131.rs
+++ b/src/test/compile-fail/E0131.rs
@@ -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
 }