We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 144670b commit ae6496cCopy full SHA for ae6496c
clippy_lints/src/unnecessary_box_returns.rs
@@ -1,10 +1,10 @@
1
use clippy_utils::{diagnostics::span_lint_and_sugg, ty::implements_trait};
2
use rustc_errors::Applicability;
3
use rustc_hir::{intravisit::FnKind, Body, FnDecl, FnRetTy, HirId};
4
+use rustc_hir_analysis::hir_ty_to_ty;
5
use rustc_lint::{LateContext, LateLintPass};
6
use rustc_session::{declare_lint_pass, declare_tool_lint};
7
use rustc_span::Span;
-use rustc_typeck::hir_ty_to_ty;
8
9
declare_clippy_lint! {
10
/// ### What it does
0 commit comments