diff options
| author | Timo <30553356+y21@users.noreply.github.com> | 2025-02-28 20:48:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-28 20:48:55 +0000 |
| commit | 9f9a822509e5ad3e560cbbe830d1013f936fca28 (patch) | |
| tree | e4f6389817f4326dd6491cda2fd9cd4f47d5436a /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 6f66a6037e4246305559e503a53fd42b83d809b3 (diff) | |
| parent | 5b0004c45fae362f50e9e587f7a16249501d07f8 (diff) | |
| download | rust-9f9a822509e5ad3e560cbbe830d1013f936fca28.tar.gz rust-9f9a822509e5ad3e560cbbe830d1013f936fca28.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
