diff options
| author | bors <bors@rust-lang.org> | 2024-07-05 11:42:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-05 11:42:47 +0000 |
| commit | 94a000b6134a34e1f4c6cd8571c15b3feb0384fb (patch) | |
| tree | 384b75b4a43064d54f4fd322b302fea93ac5d2b3 /compiler/rustc_codegen_gcc | |
| parent | 3ef366705b930477edd328934dddfadabbc66b49 (diff) | |
| parent | dd37441a646c64c89150cc008dacdbb1f68d3f14 (diff) | |
| download | rust-94a000b6134a34e1f4c6cd8571c15b3feb0384fb.tar.gz rust-94a000b6134a34e1f4c6cd8571c15b3feb0384fb.zip | |
Auto merge of #11293 - mrnossiom:11234, r=Jarcho
feat: add cfg_not_test lint <!-- - \[x] Followed [lint naming conventions][lint_naming] - \[x] Added passing UI tests (including committed `.stderr` file) - \[x] `cargo test` passes locally - \[x] Executed `cargo dev update_lints` - \[ ] Added lint documentation - \[x] Run `cargo dev fmt` [lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints --> Fixes #11234 changelog: new lint: [`cfg_not_test`] I don't know whether to lint only the `attr` or also the item associated to it. I guess this would mean putting the check in another place than `check_attribute` but I can't find a way to get the associated item to the attribute. Also, I'm not sure how to document this lint, I feel like my explications are bad.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
