Function rustc_middle::lint::in_external_macro
source · Expand description
Returns whether span
originates in a foreign crate’s external macro.
This is used to test whether a lint should not even begin to figure out whether it should be reported on the current node.