]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/large_stack_arrays.rs
Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkov
[rust.git] / clippy_lints / src / large_stack_arrays.rs
index 7088630bfdbb45f56c27a73aedfc043127f84894..bbb6c1f902ce077e7fcfc6f168021f71fb356cde 100644 (file)
@@ -4,11 +4,10 @@
 use rustc_hir::{Expr, ExprKind};
 use rustc_lint::{LateContext, LateLintPass};
 use rustc_middle::mir::interpret::ConstValue;
+use rustc_middle::ty::layout::LayoutOf;
 use rustc_middle::ty::{self, ConstKind};
 use rustc_session::{declare_tool_lint, impl_lint_pass};
 
-use crate::rustc_target::abi::LayoutOf;
-
 declare_clippy_lint! {
     /// ### What it does
     /// Checks for local arrays that may be too large.