Reports Scala 2 syntax that can be replaced with Scala 3 when using -Xsource:3.

Under the compiler flag -Xsource:3 the following Scala 3 constructs are already supported in Scala 2.13.6: