Skip to content

Commit c68771f

Browse files
authored
Merge pull request scala/scala#9393 from lrytz/nowarn-nowarn
[nomerge] silence warning on nowarn
2 parents 7c4f51d + 8bebe60 commit c68771f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/scala/annotation/nowarn.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ package scala.annotation
3131
*
3232
* To ensure that a `@nowarn` annotation actually suppresses a warning, enable `-Xlint:nowarn`.
3333
*/
34+
@nowarn("msg=subclassing ClassfileAnnotation does not\nmake your annotation visible at runtime")
3435
class nowarn(value: String = "") extends ClassfileAnnotation

0 commit comments

Comments
 (0)