]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/async-await/issue-68523.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / async-await / issue-68523.rs
index e6250c40c714c3f2147fe02a0d5baf644b3e8479..718c597e7129a183b9e17e67028eb8b82d35b380 100644 (file)
@@ -2,6 +2,6 @@
 
 async fn main() -> Result<i32, ()> {
 //~^ ERROR `main` function is not allowed to be `async`
-//~^^ ERROR `main` has invalid return type `impl std::future::Future`
+//~^^ ERROR `main` has invalid return type `impl Future`
     Ok(1)
 }