diff options
| author | bors <bors@rust-lang.org> | 2024-05-04 10:31:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-04 10:31:49 +0000 |
| commit | 7dd170fccb3be6b1737af5df14dd736b366236c1 (patch) | |
| tree | 0d9419561f83e22a2d689f82e9ab717f0f5e460b /compiler/rustc_interface/src/interface.rs | |
| parent | 6d721dd0b80ad5382d38481a2477f7404b73e717 (diff) | |
| parent | d4e26fbb5301b465a037c4d2ff54024ebd7f73d8 (diff) | |
| download | rust-7dd170fccb3be6b1737af5df14dd736b366236c1.tar.gz rust-7dd170fccb3be6b1737af5df14dd736b366236c1.zip | |
Auto merge of #124345 - Urgau:compiletest-check-cfg, r=jieyouxu
Enable `--check-cfg` by default in UI tests
This PR enables-by-default `--check-cfg` in UI tests, now that it has become stable.
To do so this PR does 2 main things:
- it introduce the `no-auto-check-cfg` directive to `compiletest`, to prevent any `--check-cfg` args (only to be used for `--check-cfg` tests)
- it updates the _remaining_[^1] UI tests by either:
- allowing the lint when neither expecting the lint nor giving the check-cfg args make sense
- give the appropriate check-cfg args
- or expect the lint, when it useful
[^1]: some preparation work was done in #123577 #123702
I highly recommend reviewing this PR commit-by-commit.
r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions
