We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1ea603 + 88ac5e4 commit ea281c1Copy full SHA for ea281c1
src/library/scala/annotation/nowarn.scala
@@ -29,7 +29,7 @@ package scala.annotation
29
* def f = { 1; deprecated() } // show deprecation warning
30
* }}}
31
*
32
- * To ensure that a `@nowarn` annotation actually suppresses a warning, enable `-Xlint:nowarn`.
+ * To ensure that a `@nowarn` annotation actually suppresses a warning, enable `-Xlint:unused` or `-Wunused:nowarn`.
33
*/
34
@nowarn("msg=subclassing ClassfileAnnotation does not\nmake your annotation visible at runtime")
35
class nowarn(value: String = "") extends ClassfileAnnotation
0 commit comments