-Wlogical-op-parentheses analog in rustc

Viewed 53

C++ compilers have an option to warn against writing a || b && c without parentheses (clang and gcc do this automatically on -Wall, the specific option in clang is called -Wlogical-op-parentheses). Is there an analogous feature in rustc?

0 Answers
Related