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:16: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
17 = note: the matched value is of type `&T`
19 error: to use a constant of type `S` in a pattern, `S` must be annotated with `#[derive(PartialEq, Eq)]`
20 --> $DIR/match_ice.rs:11:9
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0004`.