1 #![warn(clippy::upper_case_acronyms)]
3 struct HTTPResponse; // not linted by default, but with cfg option
5 struct CString; // not linted
19 // linted with cfg option, beware that lint suggests `GccllvmSomething` instead of
21 struct GCCLLVMSomething;
23 // public items must not be linted
24 pub struct NOWARNINGHERE;
25 pub struct ALSONoWarningHERE;
27 // enum variants should not be linted if the num is pub
28 pub enum ParseError<T> {
30 Utf8(std::string::FromUtf8Error),
34 // private, do lint here
35 enum ParseErrorPrivate<T> {
37 Utf8(std::string::FromUtf8Error),