From e605fc33823559deb3db828db7fdfb5d9be96a44 Mon Sep 17 00:00:00 2001 From: rustbot Date: Sat, 13 Aug 2022 03:30:14 +0000 Subject: [PATCH] ices/82927.rs: fixed with errors === stdout === === stderr === error[E0658]: trait aliases are experimental --> /home/runner/work/glacier/glacier/ices/82927.rs:1:1 | 1 | trait SendEqAlias = PartialEq; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #41517 for more information = help: add `#![feature(trait_alias)]` to the crate attributes to enable error[E0601]: `main` function not found in crate `82927` --> /home/runner/work/glacier/glacier/ices/82927.rs:3:31 | 3 | struct Bar(SendEqAlias); | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/82927.rs` warning: trait objects without an explicit `dyn` are deprecated --> /home/runner/work/glacier/glacier/ices/82927.rs:3:15 | 3 | struct Bar(SendEqAlias); | ^^^^^^^^^^^^^^ | = 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` | 3 - struct Bar(SendEqAlias); 3 + struct Bar(dyn SendEqAlias); | error[E0393]: the type parameter `Rhs` must be explicitly specified --> /home/runner/work/glacier/glacier/ices/82927.rs:3:15 | 3 | struct Bar(SendEqAlias); | ^^^^^^^^^^^^^^ missing reference to `Rhs` | = note: because of the default `Self` reference, type parameters must be specified on object types error: aborting due to 3 previous errors; 1 warning emitted Some errors have detailed explanations: E0393, E0601, E0658. For more information about an error, try `rustc --explain E0393`. ============== --- {ices => fixed}/82927.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/82927.rs (100%) diff --git a/ices/82927.rs b/fixed/82927.rs similarity index 100% rename from ices/82927.rs rename to fixed/82927.rs