about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-10-01 22:14:58 +1000
committerGitHub <noreply@github.com>2025-10-01 22:14:58 +1000
commit3102f00f8df83f9dbcfd8c87b1bbae5a0aebcb53 (patch)
treed592a1a035527f4ac39f0350d8084898cf1f6d55 /compiler/rustc_pattern_analysis
parentf8ae00a8c56421826551948132ded2c0c35e5703 (diff)
parente491056ac5722bd404dd6c326c76f457eb08b467 (diff)
downloadrust-3102f00f8df83f9dbcfd8c87b1bbae5a0aebcb53.tar.gz
rust-3102f00f8df83f9dbcfd8c87b1bbae5a0aebcb53.zip
Rollup merge of #147170 - Zalathar:directive, r=jieyouxu
compiletest: Pass around `DirectiveLine` instead of bare strings

This is an incremental step towards being able to clean up and centralize compiletest directive parsing.

My original plan was to add features to `DirectiveLine`, and then gradually migrate parsing code to use those features. However, that turned out to be impractical, because of how the existing directive parsers call each other. So instead this PR focuses on getting them to all take `DirectiveLine` instead of bare strings, to enable incremental work in the future.

Because this is part of an ongoing cleanup, I've prioritised clean diffs over nice code, because much of this code is going to be modified again when `DirectiveLine` is more capable.

r? jieyouxu
Diffstat (limited to 'compiler/rustc_pattern_analysis')
0 files changed, 0 insertions, 0 deletions