about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-01 22:56:11 +0000
committerbors <bors@rust-lang.org>2022-05-01 22:56:11 +0000
commit4c5efea6fed6fdb30ffcbb49325c76e2856ac01d (patch)
tree6359f1dfd9a4372a1bb803abc60ba080e3032cca /compiler/rustc_mir_transform/src/coverage/spans.rs
parent4dd8b420c027001e47b0d811a7e55e2fe1de1395 (diff)
parent62f984423c147189382fb0c097c52a1a13d83f34 (diff)
downloadrust-4c5efea6fed6fdb30ffcbb49325c76e2856ac01d.tar.gz
rust-4c5efea6fed6fdb30ffcbb49325c76e2856ac01d.zip
Auto merge of #96517 - ferrocene:pa-files-related-to-test, r=Mark-Simulacrum
[compiletest] Extract code to detect files related to a test into a different function

In the code that checks whether a test needs to be re-executed, compiletest checks the modification date of all the files related to the test. I need the list of files related to the test for other purposes inside compiletest, and while I could copy/paste the code `is_up_to_date` runs, that would produce incomplete results if more related files are added in the future.

This PR extracts the code to detect related files into a separate function, allowing the rest of compiletest to access the same data.

r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions