Skip to content

Commit 8bebe60

Browse files
committed
[nomerge] silence warning on nowarn
1 parent 6b35b58 commit 8bebe60

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)