about summary refs log tree commit diff
path: root/src/test/parse-fail/trait-pub-method.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/trait-pub-method.rs')
-rw-r--r--src/test/parse-fail/trait-pub-method.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/trait-pub-method.rs b/src/test/parse-fail/trait-pub-method.rs
index c2ee3c31d88..286cb4dbff7 100644
--- a/src/test/parse-fail/trait-pub-method.rs
+++ b/src/test/parse-fail/trait-pub-method.rs
@@ -10,7 +10,7 @@
 
 trait Foo {
     pub fn foo();
-    //~^ ERROR expected one of `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found `pub`
+    //~^ ERROR expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found
 }
 
 fn main() {}