about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-05 16:58:50 +0000
committerbors <bors@rust-lang.org>2024-01-05 16:58:50 +0000
commit7bb0e9c2f25e3ab9b6ae2af6de448739b8662b00 (patch)
tree1a8e0e1dae10e444b6d45c82174ef74d2ab85c04 /tests/debuginfo/enum-thinlto.rs
parent394f63fe94bb3d991f64644d247a2f7e334d7e4f (diff)
parent7aa4624a8fe8ff2c4273e35457a7cee6100a8355 (diff)
downloadrust-7bb0e9c2f25e3ab9b6ae2af6de448739b8662b00.tar.gz
rust-7bb0e9c2f25e3ab9b6ae2af6de448739b8662b00.zip
Auto merge of #12099 - GuillaumeGomez:struct-field-names-bool, r=llogiq
Don't emit `struct_field_names` lint if all fields are booleans and don't start with the type's name

Fixes #11936.

I only checked that all fields are booleans and not the prefix (nor the suffix) because when I started to list accepted prefixes (like "is", "has", "should", "could", etc), the list was starting to get a bit too long and I thought it was not really worth for such a small change.

r? `@llogiq`

changelog: Don't emit `struct_field_names` lint if all fields are booleans and don't start with the type's name
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions