struct Deprecated
pub struct Deprecated :: [OnModule, OnTopLevel, OnMember]
Conforms to OnModule, OnTopLevel, OnMember.
Marks a declaration as deprecated.
Every use outside a deprecated declaration warns (LYR-SEM0076) with message. until
names the release that removes it: a build with that toolchain version or later fails at the
attribute (LYR-SEM0081). replacement is what the use should become, for the tools. It
stands on a module, on what stands at a module's top level (an extend block for its
members) and on a member; not on a parameter.
Fields
pub message: string = ""
pub until: string = ""
pub replacement: string = ""