about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/internal.rs
AgeCommit message (Expand)AuthorLines
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
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+3
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-16tweak pass description and fix lint fail post-rebaseArthur Lafrance-1/+1
2023-10-16debug Span::ctxt() call detectionArthur Lafrance-17/+6
2023-10-16basic lint v2 implementedArthur Lafrance-2/+43
2023-10-13Format all the let chains in compilerMichael Goulet-50/+49
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-12/+12
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-3/+2
2023-05-06Check arguments length in trivial diagnostic lintclubby789-2/+4
2023-04-25Add deny lint to prevent untranslatable diagnostics using static stringsclubby789-1/+79
2023-04-10Fix typos in compilerDaniPopes-3/+3
2023-03-21Use local key in providersMichael Goulet-1/+1
2023-03-09Document tool lintsclubby789-0/+30
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-01-15remove redundant clonesMatthias Krüger-2/+2
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `internal.rs`Rejyr-76/+35
2023-01-04get_parent and find_parentMichael Goulet-1/+1
2023-01-04rename get_parent_node to parent_idMichael Goulet-1/+1
2022-12-01rustc_hir: Relax lifetime requirements on `Visitor::visit_path`Vadim Petrochenkov-1/+1
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-2/+2
2022-11-23Separate lifetime ident from resolution in HIR.Camille GILLOT-5/+1
2022-10-23Migrate all diagnosticsNilstrieb-18/+18
2022-10-01Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebankbors-100/+105
2022-10-01Refactor rustc lint APIMaybe Waffle-100/+105
2022-09-29Shrink `hir::def::Res`.Nicholas Nethercote-1/+1
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename AddSubdiagnostic trait to AddToDiagnosticJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-2/+2
2022-09-05Auto merge of #101261 - TaKO8Ki:separate-receiver-from-arguments-in-hir, r=cj...bors-1/+1
2022-09-05separate the receiver from arguments in HIRTakayuki Maeda-1/+1
2022-09-05Make `hir::PathSegment::res` non-optional.Nicholas Nethercote-2/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0