about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-20 02:47:51 +0000
committerbors <bors@rust-lang.org>2023-05-20 02:47:51 +0000
commit940ffdfd1eb938d0c1f0222e8e56c99cac9d4601 (patch)
tree1ac337ab5fc050d60531257a3cdc5ac61f061e49 /compiler/rustc_codegen_llvm/src
parent2a1dbbaec57440790eb6a457f628a0d295a6b80d (diff)
parentdbc76a766333bf510de601111f31e3eb42fb0434 (diff)
downloadrust-940ffdfd1eb938d0c1f0222e8e56c99cac9d4601.tar.gz
rust-940ffdfd1eb938d0c1f0222e8e56c99cac9d4601.zip
Auto merge of #10763 - GuillaumeGomez:unique_cfg_condition, r=Jarcho
Add `MINIMAL_CFG_CONDITION` lint

I encountered a few cases where some code had:

```rust
#[cfg(any(unix))]
```

In this case, the `any` is useless. This lint checks this and also for the `all` condition.

```
changelog: [`unique_cfg_condition`]: Add new `UNIQUE_CFG_CONDITION` lint
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions