Categorize all the lints!
This commit is contained in:
@@ -13,9 +13,9 @@ use utils::{match_def_path, opt_def_id, paths, span_help_and_lint};
|
||||
/// ```rust
|
||||
/// let bad_ref: &usize = std::mem::zeroed();
|
||||
/// ```
|
||||
declare_lint! {
|
||||
declare_clippy_lint! {
|
||||
pub INVALID_REF,
|
||||
Warn,
|
||||
correctness,
|
||||
"creation of invalid reference"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user