about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/internal.rs
AgeCommit message (Expand)AuthorLines
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
2022-08-31lint: avoid linting diag functions with diag lintsDavid Wood-3/+9
2022-07-27lint: add bad opt access internal lintDavid Wood-0/+35
2022-07-27session: disable internal lints for rustdocDavid Wood-14/+0
2022-07-05errors: introduce `DecorateLint`David Wood-1/+1
2022-06-30lint: port translation migration diagnosticsDavid Wood-3/+2
2022-06-30lint: port non-existant doc keyword diagnosticsDavid Wood-7/+4
2022-06-30lint: port impl `LintPass` by hand diagnosticsDavid Wood-2/+2
2022-06-30lint: port ty diagnosticsDavid Wood-11/+12
2022-06-30lint: port query instability diagnosticsDavid Wood-6/+3
2022-06-30lint: port default hash types diagnosticsDavid Wood-8/+5
2022-06-27lint: fix condition in diagnostic lintsDavid Wood-3/+6
2022-06-14Rollup merge of #97948 - davidtwco:diagnostic-translation-lints, r=oli-obkDylan DPC-31/+107
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-4/+4
2022-06-10lint: add diagnostic translation migration lintsDavid Wood-31/+107