From 3a3342d4225aa540320139a5f8cec3a13f42d251 Mon Sep 17 00:00:00 2001 From: rustbot Date: Thu, 30 Dec 2021 12:06:42 +0000 Subject: [PATCH] ices/92100-1.rs: fixed with errors === stdout === === stderr === error[E0408]: variable `a` is not bound in all patterns --> /home/runner/work/glacier/glacier/ices/92100-1.rs:3:27 | 3 | [a..1, a, a..1] | _ => {} | - ^ pattern doesn't bind `a` | | | variable not in all patterns error[E0425]: cannot find value `a` in this scope --> /home/runner/work/glacier/glacier/ices/92100-1.rs:3:10 | 3 | [a..1, a, a..1] | _ => {} | ^ not found in this scope error[E0425]: cannot find value `a` in this scope --> /home/runner/work/glacier/glacier/ices/92100-1.rs:3:19 | 3 | [a..1, a, a..1] | _ => {} | ^ not found in this scope error[E0658]: exclusive range pattern syntax is experimental --> /home/runner/work/glacier/glacier/ices/92100-1.rs:3:10 | 3 | [a..1, a, a..1] | _ => {} | ^^^^ | = note: see issue #37854 for more information = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error[E0658]: exclusive range pattern syntax is experimental --> /home/runner/work/glacier/glacier/ices/92100-1.rs:3:19 | 3 | [a..1, a, a..1] | _ => {} | ^^^^ | = note: see issue #37854 for more information = help: add `#![feature(exclusive_range_pattern)]` to the crate attributes to enable error[E0529]: expected an array or slice, found `Vec<{integer}>` --> /home/runner/work/glacier/glacier/ices/92100-1.rs:3:9 | 2 | match &vec![0] { | -------- help: consider slicing here: `&vec![0][..]` 3 | [a..1, a, a..1] | _ => {} | ^^^^^^^^^^^^^^^ pattern cannot match with input type `Vec<{integer}>` error: aborting due to 6 previous errors Some errors have detailed explanations: E0408, E0425, E0529, E0658. For more information about an error, try `rustc --explain E0408`. ============== --- {ices => fixed}/92100-1.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/92100-1.rs (100%) diff --git a/ices/92100-1.rs b/fixed/92100-1.rs similarity index 100% rename from ices/92100-1.rs rename to fixed/92100-1.rs