From 62ffc23892ebd133a177f2ffb9d19b5adfb0e542 Mon Sep 17 00:00:00 2001 From: rustbot Date: Tue, 4 Jan 2022 12:06:20 +0000 Subject: [PATCH] ices/92074.rs: fixed with errors === stdout === === stderr === error: arbitrary expressions aren't allowed in patterns --> /home/runner/work/glacier/glacier/ices/92074.rs:8:31 | 8 | assert!(matches!(x, En::A(vec![]))); | ^^^^^^ | = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0601]: `main` function not found in crate `92074` --> /home/runner/work/glacier/glacier/ices/92074.rs:1:1 | 1 | / pub enum En { 2 | | A(Vec) 3 | | } 4 | | ... | 9 | | Ok::<(), &'static str>(()) 10 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/92074.rs` warning: unreachable statement --> /home/runner/work/glacier/glacier/ices/92074.rs:8:5 | 6 | let x: En = loop {}; | ------- any code following this expression is unreachable 7 | 8 | assert!(matches!(x, En::A(vec![]))); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement | = note: `#[warn(unreachable_code)]` on by default = note: this warning originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 2 previous errors; 1 warning emitted For more information about this error, try `rustc --explain E0601`. ============== --- {ices => fixed}/92074.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/92074.rs (100%) diff --git a/ices/92074.rs b/fixed/92074.rs similarity index 100% rename from ices/92074.rs rename to fixed/92074.rs