]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui-toml/upper_case_acronyms_aggressive/upper_case_acronyms.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / tools / clippy / tests / ui-toml / upper_case_acronyms_aggressive / upper_case_acronyms.rs
CommitLineData
f20569fa
XL
1#![warn(clippy::upper_case_acronyms)]
2
3struct HTTPResponse; // not linted by default, but with cfg option
4
5struct CString; // not linted
6
7enum Flags {
8 NS, // not linted
9 CWR,
10 ECE,
11 URG,
12 ACK,
13 PSH,
14 RST,
15 SYN,
16 FIN,
17}
18
19// linted with cfg option, beware that lint suggests `GccllvmSomething` instead of
20// `GccLlvmSomething`
21struct GCCLLVMSomething;
22
23fn main() {}