mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
74f611f7fc
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`