Closed
Description
Compiler version
3.0.0-RC1 with flag -source:future
Minimized code
$ scala3-3.0.0-RC1/bin/scala -source:future
Starting scala3 REPL...
scala> object Foo:
| def one = "one"
| val two = 2
|
// defined object Foo
scala> import Foo._
1 |import Foo._
| ^
|`_` is no longer supported for a wildcard import; use `*` instead
|This construct can be rewritten automatically under -rewrite -source 3.1-migration.
Output
Expectation
Expect message to end with ... -rewrite -source future-migration
.