Guillaume Gomez
3053bad40a
Update ui-toml tests
2025-02-15 13:38:43 +01:00
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: 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`
2024-02-19 09:20:07 +00:00
Victor Song
d1e8a5956f
fix: make #[allow] work on field for pub_underscore_fields
...
Add test for future regression
2024-02-18 05:33:50 -06:00
Alex Macleod
1d107ab2be
Remove $DIR replacement in test output
2024-02-17 12:34:54 +00:00
Oli Scherer
c975c5f69e
Bump ui_test version
2024-02-16 21:40:43 +01:00
Philipp Krones
1534e08250
Merge remote-tracking branch 'upstream/master' into rustup
2024-01-25 18:39:39 +01:00
blyxyas
44f5d969d5
Change PublicallyExported -> PubliclyExported
2024-01-14 01:14:05 +01:00
Philipp Krones
aa220c7ee7
Merge commit '26ac6aab023393c94edf42f38f6ad31196009643'
2024-01-11 17:27:03 +01:00
Parker Timmerman
fa7dd1c4e0
add new lint, pub_underscore_fields
...
- add a new late pass lint, with config options
- add ui tests for both variations of config option
- update CHANGELOG.md
github feedback
bump version to 1.77 and run cargo collect-metadata
Change `,` to `;` in `conf.rs`
2023-12-29 11:44:34 +01:00