rust/tests/ui-toml/pub_underscore_fields
bors 74f611f7fc 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: 5471e0645a/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 5471e0645a/tests/compile-test.rs (L198-L202)

Removing it allows clicking the paths in the terminal

changelog: none

r? `@flip1995`
2024-02-19 09:20:07 +00:00
..
all_pub_fields
exported
pub_underscore_fields.all_pub_fields.stderr Remove $DIR replacement in test output 2024-02-17 12:34:54 +00:00
pub_underscore_fields.exported.stderr Remove $DIR replacement in test output 2024-02-17 12:34:54 +00:00
pub_underscore_fields.rs fix: make #[allow] work on field for pub_underscore_fields 2024-02-18 05:33:50 -06:00