Detects the item marked with
#[deprecated(...)]
attribute, which is discouraged from using, typically because it is dangerous, or because a better alternative exists.