about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-04 18:16:25 +0200
committerGitHub <noreply@github.com>2024-07-04 18:16:25 +0200
commit6f43a02c120ef63e00f8a5d7267674bcf4c747b2 (patch)
treecd64fdbe63b3ada7586cecd175ef52ee1d7c3930 /compiler/rustc_mir_transform/src/coverage/mod.rs
parentc091d09b049390f3c5d5002883efea8ac7475f26 (diff)
parent12f29e991a4eef962d315b45d24c784b4c5b987e (diff)
downloadrust-6f43a02c120ef63e00f8a5d7267674bcf4c747b2.tar.gz
rust-6f43a02c120ef63e00f8a5d7267674bcf4c747b2.zip
Rollup merge of #127309 - its-the-shrimp:jsondocck_add_file_var, r=aDotInTheVoid
jsondocck: add `$FILE` built-in variable

This built-in variable will allow accessing the full path to the currently tested file and allow to test things like source code spans generated by rustdoc-json, and that is exactly the reason why I've come up with the idea to add this

[futher discussion on zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/rustdoc-json.20test.20help/near/449039819)
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions