about summary refs log tree commit diff
path: root/src/test/ui/async-await/no-unsafe-async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/async-await/no-unsafe-async.rs')
-rw-r--r--src/test/ui/async-await/no-unsafe-async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/no-unsafe-async.rs b/src/test/ui/async-await/no-unsafe-async.rs
index 1ac1bdffda9..f40154e16f3 100644
--- a/src/test/ui/async-await/no-unsafe-async.rs
+++ b/src/test/ui/async-await/no-unsafe-async.rs
@@ -8,4 +8,4 @@ impl S {
 }
 
 #[cfg(FALSE)]
-unsafe async fn f() {} //~ ERROR expected one of `extern`, `fn`, or `{`, found keyword `async`
+unsafe async fn f() {} //~ ERROR expected one of `extern` or `fn`, found keyword `async`