rust/tests
Timo 9f9a822509
Check for MSRV attributes in late passes using the HIR (#13821)
Closes https://github.com/rust-lang/rust-clippy/issues/13169

Late lints now use a parent iter to check for `#[clippy::msrv]`
attributes instead of keeping track with `extract_msrv_attr`. This is
required for incremental lints since they run per module instead of per
crate so don't visit all the necessary attributes

As a basic optimisation if no `#[clippy::msrv]` attributes are
discovered in early passes the HIR access is skipped completely and just
the configured MSRV is used, for most code bases this will be the case

changelog: none
2025-02-28 20:48:55 +00:00
..
test_utils
ui Check for MSRV attributes in late passes using the HIR (#13821) 2025-02-28 20:48:55 +00:00
ui-cargo Merge remote-tracking branch 'upstream/master' into rustup 2025-02-27 21:51:42 +01:00
ui-internal Migrate clippy_lints to new MSRV API 2025-02-28 18:15:11 +00:00
ui-toml configuration option to lint incompatible_msrv in test code (#14279) 2025-02-28 12:41:46 +00:00
workspace_test Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
check-fmt.rs Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
clippy.toml
compile-test.rs Add unnecessary_debug_formatting lint (#13893) 2025-02-26 15:03:57 +00:00
config-metadata.rs Merge commit 'a109190d70' into clippy-subtree-update 2024-10-18 13:44:06 +02:00
dogfood.rs Merge commit '7901289135' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
headers.rs
integration.rs Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
lint_message_convention.rs Merge commit 'cb806113e0' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
missing-test-files.rs Merge commit '51d49c1ae2' into clippy-subtree-update 2025-01-28 19:33:54 +01:00
versioncheck.rs rustc_tools_util: Change release channel default to stable 2025-02-13 11:10:45 +01:00
workspace.rs