2020-12-19 07:50:45 -06:00
|
|
|
#![warn(clippy::upper_case_acronyms)]
|
|
|
|
|
2021-02-24 16:41:32 -06:00
|
|
|
struct HTTPResponse; // not linted by default, but with cfg option
|
2020-12-19 07:50:45 -06:00
|
|
|
|
|
|
|
struct CString; // not linted
|
|
|
|
|
|
|
|
enum Flags {
|
2021-02-24 16:41:32 -06:00
|
|
|
NS, // not linted
|
2020-12-19 07:50:45 -06:00
|
|
|
CWR,
|
|
|
|
ECE,
|
|
|
|
URG,
|
|
|
|
ACK,
|
|
|
|
PSH,
|
|
|
|
RST,
|
|
|
|
SYN,
|
|
|
|
FIN,
|
|
|
|
}
|
|
|
|
|
2021-02-24 16:41:32 -06:00
|
|
|
struct GCCLLVMSomething; // linted with cfg option, beware that lint suggests `GccllvmSomething` instead of
|
|
|
|
// `GccLlvmSomething`
|
2020-12-19 07:50:45 -06:00
|
|
|
|
|
|
|
fn main() {}
|