File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
_overviews/scala3-migration Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,21 @@ The current page only contains the options that were added in Scala 3.0.x.
40
40
| ` -Vprofile-sorted-by:<column-name> ` | Show metrics about sources and internal representations sorted by given column name. |
41
41
| ` -Vprofile-details N ` | Like -Vprofile, but also show metrics about sources and internal representations of the N most complex methods |
42
42
43
+ ## Warning settings
44
+
45
+ | 3.3.x | description |
46
+ | -| -|
47
+ | ` -Wunused:imports ` | Warn about unused imports |
48
+ | ` -Wunused:privates ` | Warn about unused private definitions |
49
+ | ` -Wunused:locals ` | Warn about unused local definitions |
50
+ | ` -Wunused:explicits ` | Warn about unused explicit parameters |
51
+ | ` -Wunused:implicits ` | Warn about unused implicit parameters |
52
+ | ` -Wunused:params ` | Warn about all unused parameters |
53
+ | ` -Wunused:all ` | Enable all warnings |
54
+ | ` -Wvalue-discard ` | Warn about discarding values |
55
+ | ` -Wnonunit-statement ` | Warn when block statements are non-Unit expressions (added in 3.3.1) |
56
+
57
+
43
58
## Advanced settings
44
59
45
60
| 3.0.x | description |
You can’t perform that action at this time.
0 commit comments