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