From 0a6d29940979aeb6bed98dcce67c4faa4e9df312 Mon Sep 17 00:00:00 2001 From: JarredAllen Date: Sun, 1 Mar 2020 13:12:56 -0800 Subject: [PATCH] Fixed compile error from merging --- clippy_lints/src/floating_point_arithmetic.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clippy_lints/src/floating_point_arithmetic.rs b/clippy_lints/src/floating_point_arithmetic.rs index 6a6583f6610..b3b81ddb57c 100644 --- a/clippy_lints/src/floating_point_arithmetic.rs +++ b/clippy_lints/src/floating_point_arithmetic.rs @@ -11,11 +11,10 @@ use rustc_lint::{LateContext, LateLintPass}; use rustc_session::{declare_lint_pass, declare_tool_lint}; use rustc_span::source_map::Spanned; -use rustc_ast::ast; +use rustc_ast::ast::{self, FloatTy, LitFloatType, LitKind}; use std::f32::consts as f32_consts; use std::f64::consts as f64_consts; use sugg::{format_numeric_literal, Sugg}; -use syntax::ast::{self, FloatTy, LitFloatType, LitKind}; declare_clippy_lint! { /// **What it does:** Looks for floating-point expressions that