about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/late.rs
AgeCommit message (Expand)AuthorLines
2025-07-26Auto merge of #139597 - Kobzol:lint-skip, r=BoxyUwUbors-1/+10
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-1/+10
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1
2025-03-07Move `visit_id` calls.Nicholas Nethercote-1/+1
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-3/+3
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-2/+2
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-2/+2
2025-02-05Uniformly handle HIR literals in visitors and lintsOli Scherer-0/+4
2025-02-01Rename `tcx.ensure()` to `tcx.ensure_ok()`Zalathar-1/+1
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-7/+2
2024-11-05Do not filter empty passes & Make CTFE Clippy into lintless passblyxyas-0/+3
2024-10-27Clean up some comments on lint implementationEric Huss-14/+3
2024-10-19Apply review comments + use `shallow_lint_levels_on`blyxyas-1/+1
2024-10-19Remove module passes filteringblyxyas-35/+12
2024-10-19Follow review comments (optimize the filtering)blyxyas-27/+37
2024-10-19Change lints_to_emit to lints_that_actually_runblyxyas-3/+3
2024-10-19Do not run lints that cannot emitblyxyas-5/+40
2024-10-07Remove an unnecessary `&Lrc<_>` local variable.Nicholas Nethercote-3/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+7
2024-05-29Don't require `visit_body` to take a lifetime that must outlive the function ...Oli Scherer-1/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-1/+1
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-4/+5
2024-03-24Rename `{enter,exit}_lint_attrs` to `check_attributes{,_post}`Alex Macleod-7/+2
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-1/+1
2024-03-13Create some minimal HIR for associated opaque typesVadim Petrochenkov-1/+1
2024-02-09tidyblyxyas-4/+1
2024-02-09Avoid a collection and iteration on empty passesblyxyas-6/+6
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-22rustc_session: implement latent TODOTamir Duberstein-2/+3
2023-11-22rustc_lint: remove superfluous assertionTamir Duberstein-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-6/+6
2023-11-17Move `lint_store` from `GlobalCtxt` to `Session`.Nicholas Nethercote-7/+13
2023-11-17Remove dead lint code.Nicholas Nethercote-2/+0
2023-09-14Auto merge of #115825 - cjgillot:expr-field-lint, r=compiler-errorsbors-0/+4
2023-09-13Visit ExprField for lint levels.Camille GILLOT-0/+4
2023-09-10Call `LateLintPass::check_attribute` from `with_lint_attrs`Alex Macleod-13/+12
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-3/+3
2023-08-04Make MissingDoc a module lint.Camille GILLOT-20/+22
2023-06-15Add an `ensure_sufficient_stack` to `LateContextAndPass::visit_expr`Scott McMurray-4/+7
2023-05-19Consider lint check attributes on match arms in late lintsRyo Yoshida-2/+4
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-2/+2
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-7/+6
2023-01-28Take a LocalDefId in hir::Visitor::visit_fn.Camille GILLOT-1/+1
2023-01-03fix dupe word typosRageking8-1/+1
2022-12-12Speed up the "builtin lints only" case.Nicholas Nethercote-4/+33
2022-12-12Reinstate `{Early,Late}LintPassObjects`.Nicholas Nethercote-12/+44
2022-12-05Remove `{Early,Late}LintPassObjects`.Nicholas Nethercote-35/+9