about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-28 12:59:55 +0100
committerGitHub <noreply@github.com>2025-03-28 12:59:55 +0100
commitad87732caee5ff6b26273eeda0adb6e48d1a5b53 (patch)
tree4d890fa6ec92b4c29443868aa7e0757d33663f78 /compiler/rustc_codegen_llvm/src
parent9597bf72dd567a1bba51744134fc6d6c8422e872 (diff)
parent87d524bef68b6a63f965cec81e0ce28e00843907 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions