mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
ada8c72f3f
Ignore UI tests since this change makes rustfmt less friendly with UI test comments.
24 lines
392 B
Rust
24 lines
392 B
Rust
#![warn(clippy::upper_case_acronyms)]
|
|
|
|
struct HTTPResponse; // not linted by default, but with cfg option
|
|
|
|
struct CString; // not linted
|
|
|
|
enum Flags {
|
|
NS, // not linted
|
|
CWR,
|
|
ECE,
|
|
URG,
|
|
ACK,
|
|
PSH,
|
|
RST,
|
|
SYN,
|
|
FIN,
|
|
}
|
|
|
|
// linted with cfg option, beware that lint suggests `GccllvmSomething` instead of
|
|
// `GccLlvmSomething`
|
|
struct GCCLLVMSomething;
|
|
|
|
fn main() {}
|