From 54cc6ef1d5ae9aaa470147c928ff48e06288839e Mon Sep 17 00:00:00 2001 From: rustbot Date: Sun, 16 Oct 2022 04:44:30 +0000 Subject: [PATCH] ices/94822-2.rs: fixed with errors === stdout === === stderr === error[E0601]: `main` function not found in crate `94822_2` --> /home/runner/work/glacier/glacier/ices/94822-2.rs:8:2 | 8 | } | ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/94822-2.rs` error[E0152]: found duplicate lang item `sized` --> /home/runner/work/glacier/glacier/ices/94822-2.rs:4:1 | 4 | trait A {} | ^^^^^^^ | = note: the lang item is first defined in crate `core` (which `std` depends on) = note: first definition in `core` loaded from /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib = note: second definition in the local crate (`94822_2`) error[E0277]: the size for values of type `{integer}` cannot be known at compilation time --> /home/runner/work/glacier/glacier/ices/94822-2.rs:7:13 | 7 | let _ = 0..80*25; | ^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `{integer}` note: required by a bound in `std::ops::Range` error[E0277]: the size for values of type `{integer}` cannot be known at compilation time --> /home/runner/work/glacier/glacier/ices/94822-2.rs:7:18 | 7 | let _ = 0..80*25; | ^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `{integer}` error: aborting due to 4 previous errors Some errors have detailed explanations: E0152, E0277, E0601. For more information about an error, try `rustc --explain E0152`. ============== --- {ices => fixed}/94822-2.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/94822-2.rs (100%) diff --git a/ices/94822-2.rs b/fixed/94822-2.rs similarity index 100% rename from ices/94822-2.rs rename to fixed/94822-2.rs