about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/passes.rs
AgeCommit message (Expand)AuthorLines
2025-07-26Auto merge of #139597 - Kobzol:lint-skip, r=BoxyUwUbors-3/+3
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-1/+1
2025-06-23Skip `late_lint_mod_inner` if all built-in lints can be skippedJakub Beránek-2/+2
2025-06-23Fix doc commentJakub Beránek-1/+1
2025-02-07fix empty after lint on impl/trait itemsJonathan Dönszelmann-0/+2
2025-02-05Uniformly handle HIR literals in visitors and lintsOli Scherer-0/+1
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-12-15Add hir::AttributeJonathan Dönszelmann-3/+3
2024-10-26Auto merge of #125116 - blyxyas:ignore-allowed-lints-final, r=cjgillotbors-2/+8
2024-10-24Pass Ident by reference in ast Visitormaxcabrajac-1/+1
2024-10-19Remove module passes filteringblyxyas-14/+3
2024-10-19Follow review comments (optimize the filtering)blyxyas-1/+12
2024-10-19Do not run lints that cannot emitblyxyas-2/+8
2024-09-23add unqualified_local_imports lintRalf Jung-0/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+2
2024-06-03Reduce some `pub` exposure.Nicholas Nethercote-2/+2
2024-05-29Don't require `visit_body` to take a lifetime that must outlive the function ...Oli Scherer-2/+2
2024-03-24Rename `{enter,exit}_lint_attrs` to `check_attributes{,_post}`Alex Macleod-14/+4
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-1/+1
2023-09-28Remove `rustc_lint_defs::lint_array`DaniPopes-2/+2
2023-09-27Use absolute paths in rustc_lint::passes macrosAlex Macleod-79/+77
2023-08-31diagnostics: avoid wrong `unused_parens` on `x as (T) < y`Michael Howell-0/+1
2023-01-28Take a LocalDefId in hir::Visitor::visit_fn.Camille GILLOT-1/+2
2023-01-14fix issues in unused lintyukang-0/+3
2022-12-12Reinstate `{Early,Late}LintPassObjects`.Nicholas Nethercote-0/+10
2022-12-07Rename `$passes` as `$pass` in several macros.Nicholas Nethercote-14/+14
2022-12-07Add some useful comments.Nicholas Nethercote-0/+4
2022-12-07Remove `$hir` argument from `late_lint_methods!`.Nicholas Nethercote-38/+38
2022-12-02Auto merge of #104863 - nnethercote:reduce-lint-macros, r=cjgillotbors-19/+6
2022-12-02Remove some unnecessary `Send` bounds.Nicholas Nethercote-3/+2
2022-12-02Eliminate four unnecessary lint macros.Nicholas Nethercote-16/+4
2022-12-01rustc_hir: Relax lifetime requirements on `Visitor::visit_path`Vadim Petrochenkov-1/+1
2022-09-12Remove unused argument from `check_mac_def`.Nicholas Nethercote-1/+1
2022-09-12Remove unused argument from `visit_poly_trait_ref`.Nicholas Nethercote-1/+1
2022-09-12Remove unused span argument from `check_mod` and `process_mod`.Nicholas Nethercote-1/+1
2022-09-06Allow lint passes to be bound by `TyCtxt`Jason Newcomb-1/+1
2022-08-29Remove `Sync` requirement from lint pass objects as they are created on demandJason Newcomb-3/+2
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`.Nicholas Nethercote-2/+1
2022-07-29Remove some late `check_*` functions.Nicholas Nethercote-19/+1
2022-07-29Remove some early `check_*` functions.Nicholas Nethercote-19/+0
2021-09-30Do not pass hir::Crate to lints.Camille GILLOT-2/+2
2021-07-25Add inferred args to typeckkadmin-0/+1
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-2/+2
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-2/+0
2020-10-16Add check_generic_arg early passSantiago Pastorino-0/+2
2020-08-30mv compiler to compiler/mark-0/+285