about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/early.rs
AgeCommit message (Expand)AuthorLines
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
2023-03-19Remove the `NodeId` of `ast::ExprKind::Async`Arpad Borsos-2/+1
2023-01-14fix issues in unused lintyukang-6/+2
2023-01-14fix #105061, Fix unused_parens issue for higher ranked function pointersyukang-0/+6
2023-01-13Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwcobors-0/+1
2023-01-11Auto merge of #105919 - uweigand:s390x-stack-overflow, r=Nilstriebbors-1/+2
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `early.rs` and `enum_intrinsics_non_enums.rs`Rejyr-0/+3
2023-01-03fix dupe word typosRageking8-1/+1
2022-12-19Fix stack overflow in recursive AST walk in early lintUlrich Weigand-1/+2
2022-12-12Speed up the "builtin lints only" case.Nicholas Nethercote-3/+18
2022-12-12Reinstate `{Early,Late}LintPassObjects`.Nicholas Nethercote-22/+52
2022-12-12Rename `run_early_passes` as `lint_callback`.Nicholas Nethercote-28/+28
2022-12-07Split `EarlyContextAndPasses::check_id` in two.Nicholas Nethercote-2/+9
2022-12-05Remove `{Early,Late}LintPassObjects`.Nicholas Nethercote-65/+42
2022-12-02Inline and remove `early_lint_node`.Nicholas Nethercote-35/+12
2022-12-02Merge `builtins` into `EarlyLintPassObjects`.Nicholas Nethercote-15/+4
2022-12-02Remove `-Zno-interleave-lints`.Nicholas Nethercote-32/+13
2022-12-02Eliminate four unnecessary lint macros.Nicholas Nethercote-12/+6
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-2/+2
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-1/+4
2022-10-06Remove `-Ztime` option.Nicholas Nethercote-1/+1
2022-10-01Compute `lint_levels` by definitionDeadbeef-0/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-3/+2
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-1/+0
2022-09-14Compute `lint_levels` by definitionDeadbeef-0/+1
2022-09-12Remove unused argument from `check_mac_def`.Nicholas Nethercote-1/+1
2022-09-12Remove unused span argument from `walk_fn`.Nicholas Nethercote-1/+1