We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9bf740 commit ed3406eCopy full SHA for ed3406e
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -378,7 +378,7 @@ object Parsers {
378
379
def rewriteNotice(additionalOption: String = "") = {
380
val optionStr = if (additionalOption.isEmpty) "" else " " ++ additionalOption
381
- i"\nThis construct can be rewritten automatically under$optionStr -rewrite."
+ i"\nThis construct can be rewritten automatically under$optionStr -rewrite -source 3.0-migration."
382
}
383
384
def syntaxVersionError(option: String, span: Span) =
0 commit comments