This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== 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 <rust-lang/rust#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<Output = impl Debug>` (trait associated opaque type at </home/runner/work/glacier/glacier/ices/101665.rs:7:22>) found opaque type `impl Future<Output = impl Debug>` (opaque type at </rustc/f83e0266cf7aaa4b41505c49a5fd9c2363166522/library/core/src/future/mod.rs:72:43>) error: aborting due to 3 previous errors Some errors have detailed explanations: E0308, E0706. For more information about an error, try `rustc --explain E0308`. ==============
- Loading branch information