rust/clippy_lints/src/attrs
Nicholas Nethercote d30f045fce Convert two rustc_middle::lint functions to Span methods.
`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.
2025-02-02 13:57:34 +11:00
..
allow_attributes.rs Convert two rustc_middle::lint functions to Span methods. 2025-02-02 13:57:34 +11:00
allow_attributes_without_reason.rs Convert two rustc_middle::lint functions to Span methods. 2025-02-02 13:57:34 +11:00
blanket_clippy_restriction_lints.rs Move two attribute lints to be early pass (post expansion) 2024-11-04 22:47:22 +01:00
deprecated_cfg_attr.rs Merge commit 'ff4a26d442' into clippy-subtree-update 2024-11-28 19:38:59 +01:00
deprecated_semver.rs Move two attribute lints to be early pass (post expansion) 2024-11-04 22:47:22 +01:00
duplicated_attributes.rs Move two attribute lints to be early pass (post expansion) 2024-11-04 22:47:22 +01:00
inline_always.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00
mixed_attributes_style.rs Merge commit '51d49c1ae2' into clippy-subtree-update 2025-01-28 19:33:54 +01:00
mod.rs Merge commit '609cd310be' into clippy-subtree-update 2024-12-26 15:15:54 +01:00
non_minimal_cfg.rs Rename NestedMetaItem to MetaItemInner 2024-10-06 23:28:30 +09:00
repr_attributes.rs Merge commit '609cd310be' into clippy-subtree-update 2024-12-26 15:15:54 +01:00
should_panic_without_expect.rs Rename RefTokenTreeCursor. 2024-12-18 10:39:07 +11:00
unnecessary_clippy_cfg.rs Merge commit '0f8eabd623' into clippyup 2024-08-24 18:33:44 -04:00
useless_attribute.rs Convert two rustc_middle::lint functions to Span methods. 2025-02-02 13:57:34 +11:00
utils.rs turn hir::ItemKind::Fn into a named-field variant 2025-01-04 11:35:31 +01:00