From cfbc30be324498f8398b8728cc34036748c0c0c9 Mon Sep 17 00:00:00 2001 From: rustbot Date: Sat, 9 Jul 2022 03:29:01 +0000 Subject: [PATCH] ices/98604.sh: fixed with errors === stdout === === stderr === error[E0271]: type mismatch resolving ` impl Future {test} as FnOnce<()>>::Output == Pin + 'static)>>` --> :10:5 | 10 | Box::new(test) as AsyncFnPtr; | ^^^^^^^^^^^^^^ expected struct `Pin`, found opaque type | note: while checking the return type of the `async fn` --> :6:17 | 6 | async fn test() {} | ^ checked the `Output` of this `async fn`, found opaque type = note: expected struct `Pin + 'static)>>` found opaque type `impl Future` = note: required for the cast from `fn() -> impl Future {test}` to the object type `dyn Fn() -> Pin + 'static)>>` error: aborting due to previous error For more information about this error, try `rustc --explain E0271`. ============== --- {ices => fixed}/98604.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/98604.sh (100%) diff --git a/ices/98604.sh b/fixed/98604.sh similarity index 100% rename from ices/98604.sh rename to fixed/98604.sh