From 6062d3ccbf22cb8c321601d8082face30bfa91f6 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Fri, 23 Oct 2020 11:01:18 +0100 Subject: [PATCH] Mention reachability warnings on `@unchecked` --- src/library/scala/unchecked.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/scala/unchecked.scala b/src/library/scala/unchecked.scala index 677a3f478e4c..a6867102abf8 100644 --- a/src/library/scala/unchecked.scala +++ b/src/library/scala/unchecked.scala @@ -15,7 +15,7 @@ package scala /** An annotation to designate that the annotated entity * should not be considered for additional compiler checks. * Specific applications include annotating the subject of - * a match expression to suppress exhaustiveness warnings, and + * a match expression to suppress exhaustiveness and reachability warnings, and * annotating a type argument in a match case to suppress * unchecked warnings. *