From bdad8f4e06fd1780cd6a8a9de673b83c21d7d946 Mon Sep 17 00:00:00 2001 From: rustbot Date: Mon, 28 Dec 2020 12:27:11 +0000 Subject: [PATCH] ices/77357.rs: fixed with errors === stdout === === stderr === error[E0601]: `main` function not found in crate `77357` --> /home/runner/work/glacier/glacier/ices/77357.rs:1:1 | 1 | / trait MyTrait {} 2 | | 3 | | fn bug<'a, T>() -> &'static dyn MyTrait<[(); { |x: &'a u32| { x }; 4 }]> { 4 | | todo!() 5 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/77357.rs` error[E0658]: a non-static lifetime is not allowed in a `const` --> /home/runner/work/glacier/glacier/ices/77357.rs:3:53 | 3 | fn bug<'a, T>() -> &'static dyn MyTrait<[(); { |x: &'a u32| { x }; 4 }]> { | ^^ | = note: see issue #44580 for more information = help: add `#![feature(const_generics)]` to the crate attributes to enable error: aborting due to 2 previous errors Some errors have detailed explanations: E0601, E0658. For more information about an 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