]> git.lizzy.rs Git - rust.git/blob - tests/ui/upper_case_acronyms.rs
Auto merge of #6403 - camsteffen:similar-names-underscore, r=Manishearth
[rust.git] / tests / ui / upper_case_acronyms.rs
1 #![warn(clippy::upper_case_acronyms)]
2
3 struct HTTPResponse; // linted
4
5 struct CString; // not linted
6
7 enum Flags {
8     NS, // linted
9     CWR,
10     ECE,
11     URG,
12     ACK,
13     PSH,
14     RST,
15     SYN,
16     FIN,
17 }
18
19 struct GCCLLVMSomething; // linted, beware that lint suggests `GccllvmSomething` instead of `GccLlvmSomething`
20
21 fn main() {}