]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/edition-deny-async-fns-2015.rs
Rollup merge of #102215 - alexcrichton:wasm-link-whole-archive, r=estebank
[rust.git] / src / test / ui / async-await / edition-deny-async-fns-2015.rs
index 22a61dcd25f98835921c47d2aef5a281347f73c9..6bd6d879a4acef4cbcd581f8729dccffe9d81fd0 100644 (file)
@@ -17,7 +17,6 @@ async fn foo() {} //~ ERROR `async fn` is not permitted in Rust 2015
 trait Bar {
     async fn foo() {} //~ ERROR `async fn` is not permitted in Rust 2015
     //~^ ERROR functions in traits cannot be declared `async`
-    //~| ERROR mismatched types
 }
 
 fn main() {