Skip to content

Commit

Permalink
Merge pull request #9440 from som-snytt/tweak/nowarn-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lrytz committed Jan 18, 2021
2 parents 1fd50aa + e97009b commit ff7e79c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/library/scala/annotation/nowarn.scala
Expand Up @@ -30,5 +30,7 @@ package scala.annotation
* }}}
*
* To ensure that a `@nowarn` annotation actually suppresses a warning, enable `-Xlint:unused` or `-Wunused:nowarn`.
* The unused annotation warning is emitted in category `unused-nowarn` and can be selectively managed
* using `-Wconf:cat=unused-nowarn:s`.
*/
class nowarn(value: String = "") extends ConstantAnnotation

0 comments on commit ff7e79c

Please sign in to comment.