Skip to content

Commit 2540bef

Browse files
committed
refine warning message
1 parent 9132fc9 commit 2540bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ object messages {
884884
val msg =
885885
hl"""|match may not be exhaustive.
886886
|
887-
|It would fail on: $uncovered"""
887+
|It would fail on pattern case: $uncovered"""
888888

889889

890890
val explanation =

0 commit comments

Comments
 (0)