diff options
| author | bors <bors@rust-lang.org> | 2024-06-07 18:02:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-07 18:02:40 +0000 |
| commit | 4dc24ae394a03755cf337bebc8cd2e022a1a4848 (patch) | |
| tree | 8222b160eb4577803865cd941c4266e3d4da9343 /compiler/rustc_interface/src/errors.rs | |
| parent | e3c3ce62d7a8328120aa2abf60a34576f3862fde (diff) | |
| parent | 6aab04e9b7d89af51eb96fcc35d7b3dab96f940a (diff) | |
| download | rust-4dc24ae394a03755cf337bebc8cd2e022a1a4848.tar.gz rust-4dc24ae394a03755cf337bebc8cd2e022a1a4848.zip | |
Auto merge of #125798 - camelid:refactor-doctest, r=GuillaumeGomez
rustdoc: Refactor doctest collection and running code This code previously had a quite confusing structure, mixing the collection, processing, and running of doctests with multiple layers of indirection. There are also many cases where tons of parameters are passed to functions with little typing information (e.g., booleans or strings are often used). As a result, the source of bugs is obfuscated (e.g. #81070) and large changes (e.g. #123974) become unnecessarily complicated. This PR is a first step to try to simplify the code and make it easier to follow and less bug-prone. r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
