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-12-12 14:02:57 +0000
committerbors <bors@rust-lang.org>2023-12-12 14:02:57 +0000
commit52deee25923f0e45ee74b36ca83ff34ccdd14f3d (patch)
tree8ceb3a608162fb211af3c1673b29089f19950db1 /compiler/rustc_codegen_llvm/src
parent2a1645d009218e85bf9dec578b474eb2acd897ed (diff)
parentded94ecf65e334a9c38a8938e817f2bb83f73d45 (diff)
downloadrust-52deee25923f0e45ee74b36ca83ff34ccdd14f3d.tar.gz
rust-52deee25923f0e45ee74b36ca83ff34ccdd14f3d.zip
Auto merge of #11902 - GuillaumeGomez:write-and-append, r=llogiq
Add `ineffective_open_options` lint

Fixes https://github.com/rust-lang/rust-clippy/issues/9628.

For `OpenOptions`, in case you call both `write(true)` and `append(true)` on `OpenOptions`, then `write(true)` is actually useless since `append(true)` does it.

r? `@flip1995`

changelog: Add `ineffective_open_options` lint
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions