Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure
This commit is contained in:
parent
c98d6994a3
commit
ca44416023
35 changed files with 595 additions and 67 deletions
|
@ -8,7 +8,7 @@ fn main() {
|
|||
//~^ NOTE the expected `async` closure body
|
||||
let () = x();
|
||||
//~^ ERROR mismatched types
|
||||
//~| NOTE this expression has type `{static main::{closure#0}::{closure#0} upvar_tys=
|
||||
//~| NOTE this expression has type `{static main::{closure#0}::{closure#0}<
|
||||
//~| NOTE expected `async` closure body, found `()`
|
||||
//~| NOTE expected `async` closure body `{static main::{closure#0}::{closure#0}
|
||||
//~| NOTE expected `async` closure body `{static main::{closure#0}::{closure#0}<
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue