From df862936191ba9fd52309cd8e7f7ba88a57210ec Mon Sep 17 00:00:00 2001 From: rustbot Date: Sun, 1 May 2022 12:09:10 +0000 Subject: [PATCH] ices/77357.rs: fixed with errors === stdout === === stderr === warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/77357.rs:1:12 | 1 | #![feature(generic_const_exprs)] | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #76560 for more information error[E0601]: `main` function not found in crate `77357` --> /home/runner/work/glacier/glacier/ices/77357.rs:7:2 | 7 | } | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/77357.rs` error: overly complex generic constant --> /home/runner/work/glacier/glacier/ices/77357.rs:5:46 | 5 | fn bug<'a, T>() -> &'static dyn MyTrait<[(); { |x: &'a u32| { x }; 4 }]> { | ^^^^^^^^^^^^^^^^^^^^^^^^^ blocks are not supported in generic constant | = help: consider moving this anonymous constant into a `const` function = note: this operation may be supported in the future error: aborting due to 2 previous errors; 1 warning emitted For more information about this error, try `rustc --explain E0601`. ============== --- {ices => fixed}/77357.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/77357.rs (100%) diff --git a/ices/77357.rs b/fixed/77357.rs similarity index 100% rename from ices/77357.rs rename to fixed/77357.rs