From ff2832b4253a1588ad6ab64166707301cc74546e Mon Sep 17 00:00:00 2001 From: rustbot Date: Sun, 2 Oct 2022 04:34:48 +0000 Subject: [PATCH] ices/102140.rs: fixed with errors === stdout === === stderr === warning: the feature `return_position_impl_trait_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/102140.rs:1:12 | 1 | #![feature(return_position_impl_trait_in_trait)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #91611 for more information = note: `#[warn(incomplete_features)]` on by default error[E0601]: `main` function not found in crate `102140` --> /home/runner/work/glacier/glacier/ices/102140.rs:23:2 | 23 | } | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/102140.rs` error[E0277]: the trait bound `&dyn MyTrait: MyTrait` is not satisfied --> /home/runner/work/glacier/glacier/ices/102140.rs:21:22 | 21 | MyTrait::foo(&self) | ------------ -^^^^ | | | | | the trait `MyTrait` is not implemented for `&dyn MyTrait` | | help: consider removing the leading `&`-reference | required by a bound introduced by this call error[E0277]: the trait bound `&dyn MyTrait: MyTrait` is not satisfied --> /home/runner/work/glacier/glacier/ices/102140.rs:21:9 | 21 | MyTrait::foo(&self) | ^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `&dyn MyTrait` | = help: the trait `MyTrait` is implemented for `Outer` error[E0277]: the trait bound `&dyn MyTrait: MyTrait` is not satisfied --> /home/runner/work/glacier/glacier/ices/102140.rs:21:9 | 21 | MyTrait::foo(&self) | ^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `&dyn MyTrait` | = help: the trait `MyTrait` is implemented for `Outer` error: aborting due to 4 previous errors; 1 warning emitted Some errors have detailed explanations: E0277, E0601. For more information about an error, try `rustc --explain E0277`. ============== --- {ices => fixed}/102140.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/102140.rs (100%) diff --git a/ices/102140.rs b/fixed/102140.rs similarity index 100% rename from ices/102140.rs rename to fixed/102140.rs