This repository has been archived by the owner on May 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=== 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<u8>) 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`. ==============
- Loading branch information