diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2021-03-25 19:29:11 +0100 |
|---|---|---|
| committer | flip1995 <philipp.krones@embecosm.com> | 2021-03-25 19:29:11 +0100 |
| commit | 9f6b5de7deaf4dc9e7917370ad09ab85dc23997c (patch) | |
| tree | 9a22fbb24606de4921c8d6842b5d81316ad9ffc2 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | e06731bb2837215765530c8768a7d251155c2137 (diff) | |
| download | rust-9f6b5de7deaf4dc9e7917370ad09ab85dc23997c.tar.gz rust-9f6b5de7deaf4dc9e7917370ad09ab85dc23997c.zip | |
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
| -rw-r--r-- | clippy_lints/src/mutable_debug_assertion.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs index 9caacb5db7c..7dfe12cd4eb 100644 --- a/clippy_lints/src/mutable_debug_assertion.rs +++ b/clippy_lints/src/mutable_debug_assertion.rs @@ -1,4 +1,5 @@ -use crate::utils::{higher, is_direct_expn_of, span_lint}; +use clippy_utils::diagnostics::span_lint; +use clippy_utils::{higher, is_direct_expn_of}; use rustc_hir::intravisit::{walk_expr, NestedVisitorMap, Visitor}; use rustc_hir::{BorrowKind, Expr, ExprKind, MatchSource, Mutability}; use rustc_lint::{LateContext, LateLintPass}; |
