]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/async-await/issue-61076.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / async-await / issue-61076.rs
index a94136cfea1fc44f162f9246256c1fd9c3e29db3..750fad8393bbf1bac8308303eb3da8f4f5d7083d 100644 (file)
@@ -87,6 +87,7 @@ async fn baz() -> Result<(), ()> {
 
 async fn match_() {
     match tuple() { //~ HELP consider `await`ing on the `Future`
+        //~^ NOTE this expression has type `impl Future<Output = Tuple>`
         Tuple(_) => {} //~ ERROR mismatched types
         //~^ NOTE expected opaque type, found struct `Tuple`
         //~| NOTE expected opaque type `impl Future<Output = Tuple>`