fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: to use a constant of type `S` in a pattern, `S` must be annotated with `#[derive(PartialEq, Eq)]` 2 --> $DIR/match_ice.rs:11:9 3 | 4LL | C => {} 5 | ^ 6 7error[E0004]: non-exhaustive patterns: `&T` not covered 8 --> $DIR/match_ice.rs:15:11 9 | 10LL | struct T; 11 | --------- `T` defined here 12... 13LL | match K { 14 | ^ pattern `&T` not covered 15 | 16 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 17 18error: aborting due to 2 previous errors 19 20For more information about this error, try `rustc --explain E0004`.