diff options
| author | Philipp Krones <hello@philkrones.com> | 2024-09-24 11:58:04 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-09-24 11:58:04 +0200 |
| commit | b61fcbee76f8e862c1de7523058e7e8a8b4ed4ef (patch) | |
| tree | 94c8da0e70fdde0f678142ebab95e1f55290e74a /clippy_lints/src/missing_fields_in_debug.rs | |
| parent | 249210e8d86a4de347def1be559dfa79d346cb9f (diff) | |
| download | rust-b61fcbee76f8e862c1de7523058e7e8a8b4ed4ef.tar.gz rust-b61fcbee76f8e862c1de7523058e7e8a8b4ed4ef.zip | |
Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update
Diffstat (limited to 'clippy_lints/src/missing_fields_in_debug.rs')
| -rw-r--r-- | clippy_lints/src/missing_fields_in_debug.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/missing_fields_in_debug.rs b/clippy_lints/src/missing_fields_in_debug.rs index 77595b121aa..fc01b6753f1 100644 --- a/clippy_lints/src/missing_fields_in_debug.rs +++ b/clippy_lints/src/missing_fields_in_debug.rs @@ -3,7 +3,7 @@ use std::ops::ControlFlow; use clippy_utils::diagnostics::span_lint_and_then; use clippy_utils::is_path_lang_item; use clippy_utils::ty::is_type_diagnostic_item; -use clippy_utils::visitors::{for_each_expr, Visitable}; +use clippy_utils::visitors::{Visitable, for_each_expr}; use rustc_ast::LitKind; use rustc_data_structures::fx::FxHashSet; use rustc_hir::def::{DefKind, Res}; @@ -13,7 +13,7 @@ use rustc_hir::{ use rustc_lint::{LateContext, LateLintPass}; use rustc_middle::ty::{Ty, TypeckResults}; use rustc_session::declare_lint_pass; -use rustc_span::{sym, Span, Symbol}; +use rustc_span::{Span, Symbol, sym}; declare_clippy_lint! { /// ### What it does |
