2021-01-30 11:06:34 -06:00
|
|
|
#![warn(clippy::upper_case_acronyms)]
|
|
|
|
|
2021-02-25 04:25:22 -06:00
|
|
|
struct HTTPResponse; // not linted by default, but with cfg option
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
|
|
struct CString; // not linted
|
|
|
|
|
|
|
|
enum Flags {
|
2021-02-25 04:25:22 -06:00
|
|
|
NS, // not linted
|
2021-01-30 11:06:34 -06:00
|
|
|
CWR,
|
|
|
|
ECE,
|
|
|
|
URG,
|
|
|
|
ACK,
|
|
|
|
PSH,
|
|
|
|
RST,
|
|
|
|
SYN,
|
|
|
|
FIN,
|
|
|
|
}
|
|
|
|
|
2021-03-12 08:30:50 -06:00
|
|
|
// linted with cfg option, beware that lint suggests `GccllvmSomething` instead of
|
|
|
|
// `GccLlvmSomething`
|
|
|
|
struct GCCLLVMSomething;
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
|
|
fn main() {}
|