From 23ab699225f89f97a0031e1a95ddd9a349b6c5ac Mon Sep 17 00:00:00 2001 From: rustbot Date: Thu, 8 Sep 2022 03:52:53 +0000 Subject: [PATCH] ices/101297.rs: fixed with errors === stdout === === stderr === warning: trait objects without an explicit `dyn` are deprecated --> /home/runner/work/glacier/glacier/ices/101297.rs:1:24 | 1 | fn ice() -> impl AsRef { | ^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1 - fn ice() -> impl AsRef { 1 + fn ice() -> impl AsRef { | error[E0277]: the trait bound `(): AsRef<(dyn for<'r> Fn(&'r ()) + 'static)>` is not satisfied --> /home/runner/work/glacier/glacier/ices/101297.rs:1:13 | 1 | fn ice() -> impl AsRef { | ^^^^^^^^^^^^^^^^^^^ the trait `AsRef<(dyn for<'r> Fn(&'r ()) + 'static)>` is not implemented for `()` error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0277`. ============== --- {ices => fixed}/101297.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/101297.rs (100%) diff --git a/ices/101297.rs b/fixed/101297.rs similarity index 100% rename from ices/101297.rs rename to fixed/101297.rs