Function syntax::attr::find_deprecation
[−]
[src]
pub fn find_deprecation(diagnostic: &Handler, attrs: &[Attribute], item_sp: Span) -> Option<Deprecation>
Unstable (
rustc_private)Find the deprecation attribute. None if none exists.