1 error: 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
7 error[E0004]: non-exhaustive patterns: `&T` not covered
8 --> $DIR/match_ice.rs:15:11
11 | --------- `T` defined here
14 | ^ pattern `&T` not covered
16 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0004`.