diff options
Diffstat (limited to 'tests/ui/consts/packed_pattern2.stderr')
-rw-r--r-- | tests/ui/consts/packed_pattern2.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/consts/packed_pattern2.stderr b/tests/ui/consts/packed_pattern2.stderr new file mode 100644 index 000000000..4dc54461e --- /dev/null +++ b/tests/ui/consts/packed_pattern2.stderr @@ -0,0 +1,10 @@ +warning: unreachable pattern + --> $DIR/packed_pattern2.rs:24:9 + | +LL | FOO => unreachable!(), + | ^^^ + | + = note: `#[warn(unreachable_patterns)]` on by default + +warning: 1 warning emitted + |