about summary refs log tree commit diff
path: root/src/test/parse-fail/issue-20711.rs
diff options
context:
space:
mode:
authorTaylor Cramer <cramertj@google.com>2018-06-19 15:07:52 -0700
committerTaylor Cramer <cramertj@google.com>2018-06-21 22:38:05 -0700
commitfb1e13b8e2b65ab7d4ea777463af14cb22856733 (patch)
tree410cc360164d7481d311a121a8e87d1db06561b2 /src/test/parse-fail/issue-20711.rs
parent0db0622de4756611464fe76e438218e2fa6759d8 (diff)
downloadrust-fb1e13b8e2b65ab7d4ea777463af14cb22856733.tar.gz
rust-fb1e13b8e2b65ab7d4ea777463af14cb22856733.zip
Fix parse-fail tests that now mention async
Diffstat (limited to 'src/test/parse-fail/issue-20711.rs')
-rw-r--r--src/test/parse-fail/issue-20711.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/issue-20711.rs b/src/test/parse-fail/issue-20711.rs
index cd79fa8be7c..e7aaa335b95 100644
--- a/src/test/parse-fail/issue-20711.rs
+++ b/src/test/parse-fail/issue-20711.rs
@@ -14,6 +14,6 @@ struct Foo;
 
 impl Foo {
     #[stable(feature = "rust1", since = "1.0.0")]
-} //~ ERROR expected one of `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, or `unsafe`
+} //~ ERROR expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, or `unsafe`
 
 fn main() {}