]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/match_ice.stderr
Rollup merge of #98609 - TaKO8Ki:fix-ice-for-associated-constant-generics, r=lcnr
[rust.git] / src / test / ui / consts / match_ice.stderr
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
3    |
4 LL |         C => {}
5    |         ^
6
7 error: aborting due to previous error
8