From 20dfaf7842f239b513e577542314ded27b5aacc3 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 31 Aug 2018 00:34:48 -0700 Subject: [PATCH] declare_lint -> declare_tool_lint --- clippy_lints/src/ptr_offset_with_cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/ptr_offset_with_cast.rs b/clippy_lints/src/ptr_offset_with_cast.rs index 9f475473c..250a11dab 100644 --- a/clippy_lints/src/ptr_offset_with_cast.rs +++ b/clippy_lints/src/ptr_offset_with_cast.rs @@ -1,4 +1,4 @@ -use rustc::{declare_lint, hir, lint, lint_array}; +use rustc::{declare_tool_lint, hir, lint, lint_array}; use crate::utils; use std::fmt;