`rustc_middle` is a huge crate and it's always good to move stuff out of it. There are lots of similar methods already on `Span`, so these two functions, `in_external_macro` and `is_from_async_await`, fit right in. The diff is big because `in_external_macro` is used a lot by clippy lints. |
||
|---|---|---|
| .. | ||
| allow_attributes.rs | ||
| allow_attributes_without_reason.rs | ||
| blanket_clippy_restriction_lints.rs | ||
| deprecated_cfg_attr.rs | ||
| deprecated_semver.rs | ||
| duplicated_attributes.rs | ||
| inline_always.rs | ||
| mixed_attributes_style.rs | ||
| mod.rs | ||
| non_minimal_cfg.rs | ||
| repr_attributes.rs | ||
| should_panic_without_expect.rs | ||
| unnecessary_clippy_cfg.rs | ||
| useless_attribute.rs | ||
| utils.rs | ||