summary refs log tree commit diff
path: root/src/librustdoc/passes/lint
AgeCommit message (Expand)AuthorLines
2024-12-06Store a single copy of the error registry in DiagCtxtbjorn3-1/+2
2024-11-28Fix new clippy lintsGuillaume Gomez-98/+90
2024-10-07Convert `Option<&Lrc<T>>` return types to `Option<&T>`.Nicholas Nethercote-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-10/+9
2024-09-04rustdoc: unify the short-circuit on all lintsMichael Howell-196/+157
2024-08-30Remove `#[macro_use] extern crate tracing` from rustdoc.Nicholas Nethercote-0/+1
2024-08-20Remove unneeded conversion to `DefId` for `ExtraInfo`Guillaume Gomez-2/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-27/+29
2024-07-04Rollup merge of #127301 - estebank:fix-suggestions, r=UrgauMatthias Krüger-19/+17
2024-07-04Adjust rustdoc automatic link suggestionEsteban Küber-19/+17
2024-07-01rustdoc: add usable lint for pulldown-cmark-0.11 parsing changesMichael Howell-0/+152
2024-06-30rustdoc: update to pulldown-cmark 0.11Michael Howell-11/+15
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+2
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-3/+8
2024-06-05Reorder `source_str_to_stream` arguments.Nicholas Nethercote-1/+1
2024-06-05Don't use the word "parse" for lexing operations.Nicholas Nethercote-8/+3
2024-06-01Auto merge of #124577 - GuillaumeGomez:stabilize-custom_code_classes_in_docs,...bors-3/+1
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-20/+77
2024-05-01Stabilize `custom_code_classes_in_docs` featureGuillaume Gomez-3/+1
2024-04-13rustdoc: check redundant explicit links with correct itemidMichael Howell-11/+8
2024-03-28Correctly get complete intra-doc link dataGuillaume Gomez-1/+12
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