diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/consts/match_ice.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/consts/match_ice.stderr b/src/test/ui/consts/match_ice.stderr new file mode 100644 index 000000000..699b4a5e2 --- /dev/null +++ b/src/test/ui/consts/match_ice.stderr @@ -0,0 +1,8 @@ +error: to use a constant of type `S` in a pattern, `S` must be annotated with `#[derive(PartialEq, Eq)]` + --> $DIR/match_ice.rs:11:9 + | +LL | C => {} + | ^ + +error: aborting due to previous error + |