about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-24 00:12:02 +0000
committerbors <bors@rust-lang.org>2023-03-24 00:12:02 +0000
commitc72c914d21264653006dc572dba1022c6577eb81 (patch)
tree92307707885b5bd6c5990027114264ca888d5401 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentbe01b983c48b75f4a7602f1e4568cd75c0b280ee (diff)
parentd7d3dbf06022c3ec020c3906afa0090ad5ae239c (diff)
downloadrust-c72c914d21264653006dc572dba1022c6577eb81.tar.gz
rust-c72c914d21264653006dc572dba1022c6577eb81.zip
Auto merge of #10489 - samueltardieu:issue-10476, r=giraffate
New lint: detect unnecessary struct building

Fixes #10476.

Running this lint on the top 500 crates produced one hit (in `rust-lang/rust-bindgen`) and [a PR has been submitted there](https://github.com/rust-lang/rust-bindgen/pull/2440).

changelog: [`unnecessary_struct_initialization`]: new lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions