We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0866d5 + fa53d28 commit 8f04f7dCopy full SHA for 8f04f7d
library/src/scala/annotation/nowarn.scala
@@ -29,6 +29,6 @@ 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
class nowarn(value: String = "") extends ConstantAnnotation
0 commit comments