From 6747369a79964ff0f8b3aba5034071fcc30ab1a9 Mon Sep 17 00:00:00 2001 From: rustbot Date: Wed, 28 Jul 2021 12:06:08 +0000 Subject: [PATCH] ices/86756.rs: fixed with errors === stdout === === stderr === error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters --> /home/runner/work/glacier/glacier/ices/86756.rs:1:14 | 1 | trait Foo {} | - ^ already used | | | first use of `T` warning: trait objects without an explicit `dyn` are deprecated --> /home/runner/work/glacier/glacier/ices/86756.rs:3:15 | 3 | eq:: | ^^^ help: use `dyn`: `dyn Foo` | = 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 issue #80165 error[E0601]: `main` function not found in crate `86756` --> /home/runner/work/glacier/glacier/ices/86756.rs:1:1 | 1 | / trait Foo {} 2 | | fn eq() { 3 | | eq:: 4 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/86756.rs` error[E0224]: at least one trait is required for an object type --> /home/runner/work/glacier/glacier/ices/86756.rs:3:10 | 3 | eq:: | ^^^ error[E0107]: missing generics for trait `Foo` --> /home/runner/work/glacier/glacier/ices/86756.rs:3:15 | 3 | eq:: | ^^^ expected at least 1 generic argument | note: trait defined here, with at least 1 generic parameter: `T` --> /home/runner/work/glacier/glacier/ices/86756.rs:1:7 | 1 | trait Foo {} | ^^^ - help: add missing generic argument | 3 | eq::> | ^^^^^^ error: aborting due to 4 previous errors; 1 warning emitted Some errors have detailed explanations: E0107, E0224, E0403, E0601. For more information about an error, try `rustc --explain E0107`. ============== --- {ices => fixed}/86756.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/86756.rs (100%) diff --git a/ices/86756.rs b/fixed/86756.rs similarity index 100% rename from ices/86756.rs rename to fixed/86756.rs