about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-10 19:37:05 +0000
committerbors <bors@rust-lang.org>2022-11-10 19:37:05 +0000
commit3c0ad8a0e0be83e922cb1ad59b10e69afe2aa754 (patch)
treec3c2dfd68985f61030658ed62c5b99fd4075c335 /src/test/rustdoc-ui/coverage/enum-tuple.rs
parent4f1698db60e309884e9a7ccdc85e5dad7b84a28a (diff)
parent3790aa3d5d14ef79b27776767985716844861f33 (diff)
downloadrust-3c0ad8a0e0be83e922cb1ad59b10e69afe2aa754.tar.gz
rust-3c0ad8a0e0be83e922cb1ad59b10e69afe2aa754.zip
Auto merge of #9830 - hrxi:pr_bool_to_int_with_if, r=Manishearth
Make `bool_to_int_with_if` a pedantic lint

In all the cases I've observed, it did not make the code clearer. Using bools as integer is frowned upon in some languages, in others it's simply not possible.

You can find comments on the original pull request #8131 that agree with this point of view.

changelog: [`bool_to_int_with_if`]: Change the categorization to pedantic
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions