From 9d95eaa49b095c396eaee3d3cb62e60df8e81a2f Mon Sep 17 00:00:00 2001 From: Afnan Enayet Date: Fri, 3 Jan 2020 17:27:14 -0800 Subject: Use `report_in_external_macro` for internal lints Add the option to report lints in external macros for rustc internal lints --- src/librustc_span/symbol.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/librustc_span') diff --git a/src/librustc_span/symbol.rs b/src/librustc_span/symbol.rs index a8b2db300a4..889f6099070 100644 --- a/src/librustc_span/symbol.rs +++ b/src/librustc_span/symbol.rs @@ -1049,6 +1049,7 @@ pub mod kw { } // This module has a very short name because it's used a lot. +#[allow(rustc::default_hash_types)] pub mod sym { use super::Symbol; use std::convert::TryInto; -- cgit 1.4.1-3-g733a5