diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-28 12:59:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-28 12:59:55 +0100 |
| commit | ad87732caee5ff6b26273eeda0adb6e48d1a5b53 (patch) | |
| tree | 4d890fa6ec92b4c29443868aa7e0757d33663f78 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 9597bf72dd567a1bba51744134fc6d6c8422e872 (diff) | |
| parent | 87d524bef68b6a63f965cec81e0ce28e00843907 (diff) | |
| download | rust-ad87732caee5ff6b26273eeda0adb6e48d1a5b53.tar.gz rust-ad87732caee5ff6b26273eeda0adb6e48d1a5b53.zip | |
Rollup merge of #138104 - GuillaumeGomez:simplify-doctest-parsing, r=fmease
Greatly simplify doctest parsing and information extraction The original process was pretty terrible, as it tried to extract information such as attributes by performing matches over tokens like `#!`, which doesn't work very well considering you can have `# ! [`, which is valid. Also, it now does it in one pass: if the parser is happy, then we try to extract information, otherwise we return early. r? `@fmease`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
