summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/packed_pattern2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/packed_pattern2.stderr')
-rw-r--r--src/test/ui/consts/packed_pattern2.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/consts/packed_pattern2.stderr b/src/test/ui/consts/packed_pattern2.stderr
new file mode 100644
index 000000000..4dc54461e
--- /dev/null
+++ b/src/test/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
+