summary refs log tree commit diff
path: root/src/librustdoc/doctest.rs
AgeCommit message (Expand)AuthorLines
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-5/+2
2024-06-09rustdoc: Add support for --remap-path-prefixEdward Shen-2/+2
2024-06-07Move logic for "making" doctests to submoduleNoah Lev-375/+6
2024-06-07Make doctests before running them; reintroduce `RunnableDoctest`Noah Lev-42/+54
2024-06-07Move some arguments to fields and reorganize fieldsNoah Lev-44/+30
2024-06-07Remove `RunnableDoctest`Noah Lev-24/+17
2024-06-07Make two fields computed on-demandNoah Lev-9/+15
2024-06-07rustdoc: Remove `DoctestVisitor::get_line`Noah Lev-7/+4
2024-06-07Remove global options from `IndividualTestOptions`Noah Lev-40/+21
2024-06-07Merge `RustDoctest` and `MdDoctest` into one typeNoah Lev-54/+35
2024-06-07rustdoc: Extract actual doctest running logic into functionNoah Lev-72/+117
2024-06-07Separate doctest collection from runningNoah Lev-146/+36
2024-06-07Move Markdown-specific doctest code into submoduleNoah Lev-0/+2
2024-06-07Start moving format-specific code into doctest submoduleNoah Lev-120/+9
2024-06-07rustdoc: Use `write_all` to ensure all content is writtenNoah Lev-1/+1
2024-06-07rustdoc: Rename `Tester` to `DoctestVisitor`Noah Lev-8/+8
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-12/+11
2024-06-01Auto merge of #124577 - GuillaumeGomez:stabilize-custom_code_classes_in_docs,...bors-1/+0
2024-05-18Rollup merge of #125117 - dev-ardi:improve-parser, r=wesleywiser,fmeaseMatthias Krüger-2/+2
2024-05-14improve maybe_consume_incorrect_semicolonardi-2/+2
2024-05-04Add `-` (stdin) support to rustdocUrgau-3/+1
2024-05-01Stabilize `custom_code_classes_in_docs` featureGuillaume Gomez-1/+0
2024-04-15Stabilize checking of cfgs at compile-time: --check-cfg optionUrgau-5/+2
2024-03-25Move `--sysroot` argument out of the argument file to fix miri issueGuillaume Gomez-3/+6
2024-03-23Rename `RustdocTestOptions` into `IndividualTestOptions`Guillaume Gomez-4/+4
2024-03-23Put temporary directory into one common functionGuillaume Gomez-9/+7
2024-03-23Prevent cloning more than necessary `RustdocOptions` fieldsGuillaume Gomez-48/+77
2024-03-23`rustdoc --test`: Prevent reaching the maximum size of command-line by using ...Guillaume Gomez-28/+70
2024-03-15rustdoc: create rustc command with an iteratorTravis Finkenauer-4/+6
2024-03-15rustdoc: add `--test-builder-wrapper` argumentTravis Finkenauer-2/+12
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-8/+8
2024-02-29Inline and remove `HumanEmitter::stderr`.Nicholas Nethercote-1/+3
2024-02-29Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.Nicholas Nethercote-2/+2
2024-02-29Remove unnecessary `diagnostic_width` call.Nicholas Nethercote-3/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+7
2024-02-22Adjust the `has_errors*` methods.Nicholas Nethercote-2/+1
2024-02-17Fix non_local_definitions lint in rustdocUrgau-0/+7
2024-02-15add extra indent spaces for rust-playground linkyukang-2/+16
2024-01-22Tweak error counting.Nicholas Nethercote-0/+1
2024-01-11Stop using `DiagnosticBuilder::buffer` in the parser.Nicholas Nethercote-3/+5
2024-01-05Rename `EmitterWriter` as `HumanEmitter`.Nicholas Nethercote-5/+5
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-5/+5
2023-12-18Rename `ParseSess::with_span_handler` as `ParseSess::with_dcx`.Nicholas Nethercote-2/+2
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-4/+4
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-22Make `Compiler::{sess,codegen_backend}` public.Nicholas Nethercote-4/+4
2023-11-15Re-format code with new rustfmtMark Rousskov-9/+9