about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/early.rs
AgeCommit message (Expand)AuthorLines
2025-08-22Refactor lint buffering to avoid requiring a giant enumJosh Triplett-3/+7
2025-08-09remove `P`Deadbeef-2/+1
2025-06-12early linting: avoid redundant calls to `check_id`Deadbeef-14/+2
2025-06-10Remove unneeded `check_id` calls as they are already called in `visit_id` in ...Guillaume Gomez-2/+0
2025-06-01Add `visit_id` to ast `Visitor`Deadbeef-34/+3
2025-05-27Rollup merge of #140894 - Urgau:check-cfg-rustdoc, r=GuillaumeGomezTrevor Gross-2/+2
2025-05-26Expose `rustc_lint::decorate_builtin_lint` for use in `rustdoc`Urgau-2/+2
2025-05-23further deduplicate ast visitor codeDeadbeef-1/+1
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-2/+2
2025-02-07fix empty after lint on impl/trait itemsJonathan Dönszelmann-0/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-15Cleanup lifetimes around `EarlyContextAndPass` and `EarlyCheckNode`Urgau-58/+44
2024-12-15Simplify `opt_span_lint` call in early diagnosticUrgau-36/+4
2024-12-15Access `TyCtxt` from early diagnostic decorationUrgau-13/+52
2024-12-07Actually walk into lifetimes and attrs in EarlyContextAndPassMichael Goulet-0/+2
2024-11-20Itemsmaxcabrajac-8/+9
2024-11-12Change rustc_lintmaxcabrajac-19/+4
2024-10-27Clean up some comments on lint implementationEric Huss-14/+4
2024-10-26Auto merge of #125116 - blyxyas:ignore-allowed-lints-final, r=cjgillotbors-0/+3
2024-10-25Rollup merge of #132106 - maxcabrajac:ident_ref, r=petrochenkovMatthias Krüger-1/+1
2024-10-24Pass Ident by reference in ast Visitormaxcabrajac-1/+1
2024-10-24Remove visit_expr_postmaxcabrajac-15/+12
2024-10-19Do not run lints that cannot emitblyxyas-0/+3
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-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-05-21Make early lints translatableXiretza-2/+2
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-8/+2
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-1/+1
2024-03-24Rename `{enter,exit}_lint_attrs` to `check_attributes{,_post}`Alex Macleod-2/+2
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-2/+2
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-7/+6
2024-01-23Rename `LintContext::lookup_with_diagnostics` as `LintContext::span_lint_with...Nicholas Nethercote-1/+7
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-7/+1
2023-12-08Rename some more coro_kind -> coroutine_kindMichael Goulet-4/+5
2023-12-08Introduce closure_id method on CoroutineKindMichael Goulet-8/+2
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-12/+11
2023-12-08coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-04Option<CoroutineKind>Eric Holk-4/+8
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-2/+6
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-08-31diagnostics: avoid wrong `unused_parens` on `x as (T) < y`Michael Howell-0/+1
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-0/+3
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-03-27Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errorsGuillaume Gomez-2/+1
2023-03-23rustc_interface: Add a new query `pre_configure`Vadim Petrochenkov-5/+5