summary refs log tree commit diff
path: root/src/librustdoc/passes/lint
AgeCommit message (Expand)AuthorLines
2024-04-18rustdoc: check redundant explicit links with correct itemidMichael Howell-11/+8
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2024-02-29Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.Nicholas Nethercote-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-2/+2
2024-02-22Overhaul `Diagnostic` args.Nicholas Nethercote-1/+1
2024-02-07docs: also check the inline stmt during redundant link checkbohan-17/+32
2024-02-05Make `Emitter::emit_diagnostic` consuming.Nicholas Nethercote-1/+1
2024-01-23Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.Nicholas Nethercote-6/+6
2024-01-05rustc_span: Remove `fn fresh_expansion`Vadim Petrochenkov-2/+2
2024-01-04compiler: fix typosvuittont60-1/+1
2023-12-23Improve some names.Nicholas Nethercote-1/+1
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename `ParseSess::with_span_handler` as `ParseSess::with_dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-2/+2
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-12/+2
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-11-08rustdoc: minor changes suggested by clippy perf lints.Nicholas Nethercote-1/+1
2023-11-03clone lessMatthias Krüger-78/+72
2023-09-17Don't emit an error if the `custom_code_classes_in_docs` feature is disabled ...Guillaume Gomez-1/+3
2023-09-08Reuse rustdoc's doc comment handling in ClippyAlex Macleod-29/+48
2023-08-21rustdoc: use unicode-aware checks for redundant explicit link fastpathMichael Howell-6/+1
2023-08-18Fix formatKyle Lin-1/+1
2023-08-18Fix private function importingKyle Lin-1/+1
2023-08-18Skip lint check when item is not fully publicKyle Lin-0/+19
2023-08-18relax redundancy constraintKyle Lin-6/+1
2023-08-18narrow down the lint trigger constraintKyle Lin-0/+10
2023-08-18fomar filesKyle Lin-4/+9
2023-08-18Still resolving rustdoc resolution panickingKyle Lin-25/+51
2023-08-18Support Reference & ReferenceUnknown link lintKyle Lin-51/+160
2023-08-18Refactor lint from rustc to rustdocKyle Lin-0/+188
2023-08-16Improve code readability by moving fmt args directly into the stringGuillaume Gomez-10/+10
2023-07-25Use a builder instead of boolean/option argumentsOli Scherer-1/+1
2023-07-19On nightly, dump ICE backtraces to diskEsteban Küber-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-12/+12
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-97/+104
2023-05-27Rollup merge of #112018 - GuillaumeGomez:cleanup-tcx, r=notriddleMatthias Krüger-1/+1
2023-05-27Clean up usage of `cx.tcx` when `tcx` is already set into a variableGuillaume Gomez-1/+1
2023-05-22rustdoc: Cleanup doc string collapsingVadim Petrochenkov-4/+4
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-3/+3
2023-04-29Add `rustdoc::unescaped_backtick` lintLukas Markeffsky-0/+416
2023-02-22rustdoc: reduce allocations when generating tooltipsMichael Howell-1/+1
2023-02-22various: translation resources from cg backendDavid Wood-2/+4
2023-02-22errors: generate typed identifiers in each crateDavid Wood-1/+1
2023-02-15Use more let chainGuillaume Gomez-5/+3
2023-01-26rustdoc: Stop using `HirId`sVadim Petrochenkov-3/+2
2023-01-08Make translate_message return result and add testsmejrs-1/+3
2022-11-22Consolidate rustdoc's lint passes into a single passNoah Lev-0/+666