Commit dcfe0a0
committed
Show nowarn / Wconf filters for a warning with @nowarn("verbose")
As already implemented in Scala 3
```
scala> @nowarn("v") def f = try 1
^
warning: A try without a catch or finally is equivalent to putting its body in a block; no exceptions are handled.
Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=other, site=f
def f: Int
```1 parent 01ff752 commit dcfe0a0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
0 commit comments