From 4574691e640963d6916cc915a9a8569898e3e58c Mon Sep 17 00:00:00 2001 From: rustbot Date: Tue, 4 Oct 2022 03:36:12 +0000 Subject: [PATCH] ices/101665.rs: fixed with errors === stdout === === stderr === error[E0706]: functions in traits cannot be declared `async` --> /home/runner/work/glacier/glacier/ices/101665.rs:7:5 | 7 | async fn baz()-> impl Debug{} | -----^^^^^^^^^^^^^^^^^^^^^^ | | | `async` because of this | = note: `async` trait functions are not currently supported = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait = note: see issue #91611 for more information = help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/101665.rs:7:32 | 7 | async fn baz()-> impl Debug{} | ^^ expected associated type, found `()` | = note: expected associated type `impl Debug` found unit type `()` error[E0308]: mismatched types --> /home/runner/work/glacier/glacier/ices/101665.rs:7:32 | 7 | async fn baz()-> impl Debug{} | ^^ expected associated type, found opaque type | = note: expected associated type `impl Future` (trait associated opaque type at ) found opaque type `impl Future` (opaque type at ) error: aborting due to 3 previous errors Some errors have detailed explanations: E0308, E0706. For more information about an error, try `rustc --explain E0308`. ============== --- {ices => fixed}/101665.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/101665.rs (100%) diff --git a/ices/101665.rs b/fixed/101665.rs similarity index 100% rename from ices/101665.rs rename to fixed/101665.rs