File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
compat/src/main/scala-2.11_2.12/scala/annotation Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Scala (https://www.scala-lang.org)
3+ *
4+ * Copyright EPFL and Lightbend, Inc.
5+ *
6+ * Licensed under Apache License 2.0
7+ * (http://www.apache.org/licenses/LICENSE-2.0).
8+ *
9+ * See the NOTICE file distributed with this work for
10+ * additional information regarding copyright ownership.
11+ */
12+
13+ package scala .annotation
14+
15+ /** An annotation for local warning suppression added in 2.13.2. Note that this annotation has
16+ * no functionality when used in Scala 2.11 or 2.12, but allows cross-compiling code that uses
17+ * `@nowarn`.
18+ *
19+ * For documentation on how to use the annotation in 2.13 see
20+ * https://www.scala-lang.org/api/2.13.2/scala/nowarn.html
21+ */
22+ class nowarn (value : String = " " ) extends StaticAnnotation
You can’t perform that action at this time.
0 commit comments