summaryrefslogtreecommitdiff
path: root/src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-25 11:40:41 +0000
committerbors <bors@rust-lang.org>2024-09-25 11:40:41 +0000
commit38352b01ae4af9300be03b805d6db68c45e51068 (patch)
tree7cf47dc3c19a390f3cf8368937706e8a831ae6af /src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed
parent2933f68abefa9e56ac336cb686a435a54e8a1f21 (diff)
parente60098bf8c09732eef92e9d2f2876508d9f39913 (diff)
Auto merge of #130778 - flip1995:clippy-subtree-update, r=Manishearth
Clippy subtree update r? `@Manishearth` Really delayed sync (2 1/2 weeks), because of a `debug_assertion` we hit, and I didn't have the time to investigate earlier. It would be nice to merge this PR with some priority, as it includes a lot of formatting changes due to the rustfmt bump. Include Cargo.lock update due to Clippy version bump and ui_test bump in Clippy.
Diffstat (limited to 'src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed')
-rw-r--r--src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed b/src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed
index 3908411da82..0a994842834 100644
--- a/src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed
+++ b/src/tools/clippy/tests/ui-internal/unnecessary_def_path.fixed
@@ -13,7 +13,7 @@ extern crate rustc_span;
use clippy_utils::ty::{is_type_diagnostic_item, is_type_lang_item, match_type};
#[allow(unused)]
use clippy_utils::{
- is_expr_path_def_path, is_path_diagnostic_item, is_res_diagnostic_ctor, is_res_lang_ctor, is_trait_method,
+ is_enum_variant_ctor, is_expr_path_def_path, is_path_diagnostic_item, is_res_lang_ctor, is_trait_method,
match_def_path, match_trait_method, path_res,
};
@@ -22,8 +22,8 @@ use rustc_hir::LangItem;
#[allow(unused)]
use rustc_span::sym;
-use rustc_hir::def_id::DefId;
use rustc_hir::Expr;
+use rustc_hir::def_id::DefId;
use rustc_lint::LateContext;
use rustc_middle::ty::Ty;