about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
AgeCommit message (Expand)AuthorLines
2025-07-02Add `track_caller` attributes to trace origin of Clippy lintsSamuel Tardieu-0/+2
2025-06-24Rollup merge of #142645 - Urgau:usage-non_upper_case_globals, r=fmeaseMatthias Krüger-0/+14
2025-06-22Rollup merge of #142593 - blyxyas:improve-docs-itty-bitty-change, r=compiler-...Guillaume Gomez-0/+9
2025-06-21All HIR attributes are outerDavid Tolnay-3/+4
2025-06-21Add `emit_span_lint_lazy` to lazily create `LintDiagnostic` structsUrgau-0/+14
2025-06-17Add a warning to LateContext::get_def_pathblyxyas-0/+9
2025-06-13Reduce precedence of expressions that have an outer attrDavid Tolnay-0/+15
2025-04-26Avoid re-interning in `LateContext::get_def_path`DaniPopes-1/+4
2025-04-17Rollup merge of #139650 - Alexendoo:group-alias, r=davidtwcoMatthias Krüger-58/+39
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-6/+1
2025-04-14Use `Symbol` in `LateContext::get_associated_type`.Nicholas Nethercote-2/+7
2025-04-10Fix `register_group_alias` for toolsAlex Macleod-58/+39
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-1/+1
2025-04-03Remove `LintExpectationId` from `Level` variantsOli Scherer-8/+7
2025-04-03Make LevelAndSource a structOli Scherer-2/+2
2025-03-11Fix false-positive in `expr_or_init` and in the `invalid_from_utf8` lintUrgau-2/+14
2025-03-06Account for UseCloned on expr_use_visitorSantiago Pastorino-0/+4
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-3/+1
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-2/+2
2025-02-08Rustfmtbjorn3-10/+16
2025-01-29Remove `LateContext::match_def_path()`Samuel Tardieu-25/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-15Access `TyCtxt` from early diagnostic decorationUrgau-35/+1
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-0/+4
2024-11-23no more Reveal :(lcnr-2/+0
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-5/+9
2024-10-29TypingMode :thinking:lcnr-1/+11
2024-10-28Rollup merge of #132249 - workingjubilee:add-rustc-abi, r=compiler-errorsJubilee-2/+1
2024-10-27compiler: Depend on rustc_abi in rustc_lintJubilee Young-2/+1
2024-10-27Clean up some comments on lint implementationEric Huss-17/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-19/+13
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-2/+16
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+11
2024-06-03Tweak `CheckLintNameResult::Tool`.Nicholas Nethercote-18/+21
2024-06-03Fix up comments.Nicholas Nethercote-1/+2
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-21/+14
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-1/+1
2024-05-23Delay the construction of early lint diag structsLeón Orell Valerian Liehr-1/+3
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-20/+11
2024-05-21Make early lints translatableXiretza-13/+8
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-2/+1
2024-05-10Lift `TraitRef` into `rustc_type_ir`Michael Goulet-1/+1
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-0/+1
2024-04-29[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loadedblyxyas-8/+10
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-17has_typeck_results doesnt need to be a queryMichael Goulet-1/+1
2024-03-22Rename `hir::Node::Local` into `hir::Node::LetStmt`Guillaume Gomez-2/+2
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-2/+2
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-5/+5
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-3/+4