In X::Obsolete§

See primary documentation in context for method replacement

method replacement(--> Str:D)

Describes what to use instead of the obsolete syntax.