From d58a39cd0b2800419b74fee4f0a151cf8ff510ac Mon Sep 17 00:00:00 2001 From: rustbot Date: Wed, 17 Mar 2021 12:28:07 +0000 Subject: [PATCH] ices/53092.rs: fixed with errors === stdout === === stderr === error[E0658]: `impl Trait` in type aliases is unstable --> /home/runner/work/glacier/glacier/ices/53092.rs:21:18 | 21 | type Bug = impl Fn(T) -> U + Copy; | ^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #63063 for more information = help: add `#![feature(min_type_alias_impl_trait)]` to the crate attributes to enable warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/53092.rs:3:12 | 3 | #![feature(type_alias_impl_trait)] | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #63063 for more information error[E0658]: type alias impl trait is not permitted here --> /home/runner/work/glacier/glacier/ices/53092.rs:23:32 | 23 | const CONST_BUG: Bug = transmute(|_: u8| ()); | ^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #63065 for more information = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable error: concrete type differs from previous defining opaque type use --> /home/runner/work/glacier/glacier/ices/53092.rs:25:1 | 25 | fn make_bug>() -> Bug { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `[type error]`, got `[closure@/home/runner/work/glacier/glacier/ices/53092.rs:26:5: 26:17]` | note: previous use here --> /home/runner/work/glacier/glacier/ices/53092.rs:23:1 | 23 | const CONST_BUG: Bug = transmute(|_: u8| ()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 3 previous errors; 1 warning emitted For more information about this error, try `rustc --explain E0658`. ============== --- {ices => fixed}/53092.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/53092.rs (100%) diff --git a/ices/53092.rs b/fixed/53092.rs similarity index 100% rename from ices/53092.rs rename to fixed/53092.rs