diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-12-11 19:30:33 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-12-11 20:38:55 +0300 |
| commit | f11edf7611402fedffb0e32ab0981406185fc079 (patch) | |
| tree | bacfbff0be235a0f11cca11119dd410c81feb301 /compiler/rustc_hir/src/tests.rs | |
| parent | ff7906bfe1ed264bf9c4d3abe1940e357b7e61dd (diff) | |
| download | rust-f11edf7611402fedffb0e32ab0981406185fc079.tar.gz rust-f11edf7611402fedffb0e32ab0981406185fc079.zip | |
allow `symbol_intern_string_literal` lint in test modules
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_hir/src/tests.rs')
| -rw-r--r-- | compiler/rustc_hir/src/tests.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_hir/src/tests.rs b/compiler/rustc_hir/src/tests.rs index 5c10fa46971..953e48a6d33 100644 --- a/compiler/rustc_hir/src/tests.rs +++ b/compiler/rustc_hir/src/tests.rs @@ -1,3 +1,5 @@ +#![cfg_attr(not(bootstrap), allow(rustc::symbol_intern_string_literal))] + use rustc_data_structures::stable_hasher::Hash64; use rustc_span::def_id::{DefPathHash, StableCrateId}; use rustc_span::edition::Edition; |
