diff options
| author | Afnan Enayet <afnan@afnan.io> | 2020-01-03 17:27:14 -0800 |
|---|---|---|
| committer | Afnan Enayet <afnan@afnan.io> | 2020-01-12 23:21:02 -0800 |
| commit | 9d95eaa49b095c396eaee3d3cb62e60df8e81a2f (patch) | |
| tree | e03def1cf711d1834bf24688990217db327086db /src/librustc_span | |
| parent | e82febc78e5a14356de5f713b904eebef1e86956 (diff) | |
| download | rust-9d95eaa49b095c396eaee3d3cb62e60df8e81a2f.tar.gz rust-9d95eaa49b095c396eaee3d3cb62e60df8e81a2f.zip | |
Use `report_in_external_macro` for internal lints
Add the option to report lints in external macros for rustc internal lints
Diffstat (limited to 'src/librustc_span')
| -rw-r--r-- | src/librustc_span/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
