diff options
| author | Oliver Schneider <git-no-reply-9879165716479413131@oli-obk.de> | 2018-03-28 15:24:26 +0200 |
|---|---|---|
| committer | Oliver Schneider <git-no-reply-9879165716479413131@oli-obk.de> | 2018-03-28 15:24:26 +0200 |
| commit | d6344c47e3bf8e1c1bc4dea52841d0a1f83b4fa4 (patch) | |
| tree | 96291a0cee775e57d285eca3df4d90771b8293f2 /clippy_lints/src/reference.rs | |
| parent | ef9fdbb8a9a3321a0d2261a0b6a013c23e2f669b (diff) | |
Categorize all the lints!
Diffstat (limited to 'clippy_lints/src/reference.rs')
| -rw-r--r-- | clippy_lints/src/reference.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/reference.rs b/clippy_lints/src/reference.rs index fce3c6ad285..0d4332b4a7d 100644 --- a/clippy_lints/src/reference.rs +++ b/clippy_lints/src/reference.rs @@ -15,9 +15,9 @@ use utils::{snippet, span_lint_and_sugg}; /// let a = f(*&mut b); /// let c = *&d; /// ``` -declare_lint! { +declare_clippy_lint! { pub DEREF_ADDROF, - Warn, + complexity, "use of `*&` or `*&mut` in an expression" } |
