contains_deprecated

Function contains_deprecated 

Source
fn contains_deprecated(attrs: &[Attribute]) -> bool
Expand description

Check whether the given attributes contains one of:

  • #[deprecated]
  • #[allow(deprecated)]