mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
22 lines
333 B
Rust
22 lines
333 B
Rust
|
#![warn(clippy::upper_case_acronyms)]
|
||
|
|
||
|
struct HTTPResponse; // linted
|
||
|
|
||
|
struct CString; // not linted
|
||
|
|
||
|
enum Flags {
|
||
|
NS, // linted
|
||
|
CWR,
|
||
|
ECE,
|
||
|
URG,
|
||
|
ACK,
|
||
|
PSH,
|
||
|
RST,
|
||
|
SYN,
|
||
|
FIN,
|
||
|
}
|
||
|
|
||
|
struct GCCLLVMSomething; // linted, beware that lint suggests `GccllvmSomething` instead of `GccLlvmSomething`
|
||
|
|
||
|
fn main() {}
|