deprecated

@compileTimeOnly("`deprecated` can only be used at compile time in import statements")
object deprecated

The deprecated object contains features that are no longer officially suypported in Scala. Features in this object are slated for removal. New code should not use them and old code should migrate away from them.

Source:
language.scala
class Object
trait Matchable
class Any

Type members

Classlikes

@compileTimeOnly("`symbolLiterals` can only be used at compile time in import statements")

Symbol literals have been deprecated since 2.13. Since Scala 3.0 they are no longer an official part of Scala. For compatibility with legacy software, symbol literals are still supported with a language import, but new software should not use them.

Symbol literals have been deprecated since 2.13. Since Scala 3.0 they are no longer an official part of Scala. For compatibility with legacy software, symbol literals are still supported with a language import, but new software should not use them.

Source:
language.scala