Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 8c13888

Browse files
committed
ices/82909.rs: fixed with errors
=== stdout === === stderr === warning: to use a constant of type `Eek` in a pattern, `Eek` must be annotated with `#[derive(PartialEq, Eq)]` --> /home/runner/work/glacier/glacier/ices/82909.rs:15:11 | 15 | &&EEK_ONE => {} | ^^^^^^^ | = note: `#[warn(indirect_structural_match)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #62411 <rust-lang/rust#62411> error[E0004]: non-exhaustive patterns: `&&&_` not covered --> /home/runner/work/glacier/glacier/ices/82909.rs:14:11 | 14 | match &&&[][..] { | ^^^^^^^^^ pattern `&&&_` not covered | = note: the matched value is of type `&&&[Eek]` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 15 ~ &&EEK_ONE => {} 16 + &&&_ => todo!() | warning: unused variable: `other` --> /home/runner/work/glacier/glacier/ices/82909.rs:3:18 | 3 | fn eq(&self, other: &Self) -> bool { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` | = note: `#[warn(unused_variables)]` on by default error: aborting due to previous error; 2 warnings emitted For more information about this error, try `rustc --explain E0004`. ==============
1 parent c3ec398 commit 8c13888

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)