trait is DEPRECATED (Attribute)

Documentation for trait is DEPRECATED (Attribute), assembled from the following types:

class Attribute

From Attribute

(Attribute) trait is DEPRECATED (Attribute)

multi sub trait_mod:<is>(Attribute:D $r:$DEPRECATED!)

Marks an attribute as deprecated, optionally with a message what to use instead.

TODO: Add example when it's implemented in Rakudo.