about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-19 09:20:07 +0000
committerbors <bors@rust-lang.org>2024-02-19 09:20:07 +0000
commit74f611f7fc48c68924464667594dac8719a64a21 (patch)
treec3dcfcf012da5c941df768a60fe51992b68dc867 /compiler/rustc_codegen_llvm/src
parent2a3c0334f74cb949ab3702a6d26b38a549140bb2 (diff)
parent740d89ee697de31ad4ede7e8b6596c148f6659c2 (diff)
downloadrust-74f611f7fc48c68924464667594dac8719a64a21.tar.gz
rust-74f611f7fc48c68924464667594dac8719a64a21.zip
Auto merge of #12306 - Alexendoo:dir-replacement, r=flip1995
Remove `$DIR` replacement

This won't cause problems because the old `$DIR` replacement was based on the parent of the test path, which for us is relative: https://github.com/rust-lang/rust-clippy/blob/5471e0645a497ab331ae38adc965aa15b74aa8c9/tests/compile-test.rs#L122

The new pattern being `"tests/{test_dir}"` is more clearly relative

That's why we have custom filters applied to the toml/cargo tests where absolute paths do appear in the output https://github.com/rust-lang/rust-clippy/blob/5471e0645a497ab331ae38adc965aa15b74aa8c9/tests/compile-test.rs#L198-L202

Removing it allows clicking the paths in the terminal

changelog: none

r? `@flip1995`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions