about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/internal.rs
AgeCommit message (Expand)AuthorLines
2025-08-20Instantiate higher-ranked binder with erased when checking IntoIterator predi...Michael Goulet-9/+14
2025-08-15Extend `QueryStability` to handle `IntoIterator` implementationsSamuel Moelius-47/+85
2025-08-11Propagate TraitImplHeader to hirCameron Steffen-2/+2
2025-08-11Extract ast TraitImplHeaderCameron Steffen-4/+4
2025-07-28use let chains in hir, lint, mirKivooeo-16/+15
2025-06-18Implement lint against direct uses of rustc_type_ir in compiler cratesRomain Perier-3/+28
2025-06-03Overhaul `UsePath`.Nicholas Nethercote-2/+5
2025-06-02Factor out repeated code into `is_mod_inherent`.Nicholas Nethercote-9/+8
2025-03-26Implement lint against using Interner and InferCtxtLike in random compiler cr...Michael Goulet-3/+36
2025-03-26hir::-ify internal lintsMichael Goulet-39/+50
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-3/+3
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-2/+2
2025-02-08Rustfmtbjorn3-20/+30
2025-01-29Eliminate PatKind::PathOli Scherer-6/+4
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-3/+3
2024-12-18Merge some patterns togetherOli Scherer-21/+5
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-17Remove `rustc::existing_doc_keyword` lint.Nicholas Nethercote-42/+2
2024-12-03Rollup merge of #133545 - clubby789:symbol-intern-lit, r=jieyouxuMatthias Krüger-2/+33
2024-12-02remove outdated commentlcnr-11/+4
2024-11-28Implement lint against `Symbol::intern` on a string literalclubby789-2/+33
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-2/+3
2024-10-26Auto merge of #132190 - matthiaskrgr:rollup-rsocfiz, r=matthiaskrgrbors-2/+2
2024-10-26Downgrade `untranslatable_diagnostic` and `diagnostic_outside_of_impl` to `al...Jieyou Xu-2/+2
2024-10-19Unify syntax (all to @eval_always)blyxyas-2/+2
2024-10-19Remove module passes filteringblyxyas-2/+2
2024-10-19Do not run lints that cannot emitblyxyas-2/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-37/+25
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-3/+21
2024-09-01Deny imports of rustc_type_ir::inherent outside of type ir + new trait solverMichael Goulet-2/+28
2024-08-10Refactor: `diagnostic_outside_of_impl`, `untranslatable_diagnostic`Pavel Grigorenko-60/+74
2024-08-10`untranslatable_diagnostic` lint: point at the untranslated thingPavel Grigorenko-10/+12
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+12
2024-07-18Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`León Orell Valerian Liehr-1/+45
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-2/+2
2024-06-03Fix up comments.Nicholas Nethercote-7/+7
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-03-11Allow multiple `impl Into<{D,Subd}iagMessage>` parameters in a function.Nicholas Nethercote-12/+5
2024-03-11Rename diagnostic derive things.Nicholas Nethercote-2/+1
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-5/+5
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-4/+4
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-7/+4
2024-03-08Fix crash in late internal checkingyukang-4/+6
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-43/+122
2024-03-05Rename `SubdiagnosticMessage` as `SubdiagMessage`.Nicholas Nethercote-1/+1
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-1/+1
2024-02-28Remove the `UntranslatableDiagnosticTrivial` lint.Nicholas Nethercote-82/+1
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-6/+5
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+2
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-13/+13