allow symbol_intern_string_literal
lint in test modules
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
ff7906bfe1
commit
f11edf7611
6 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#![cfg_attr(not(bootstrap), allow(rustc::symbol_intern_string_literal))]
|
||||
|
||||
use std::assert_matches::assert_matches;
|
||||
use std::io::prelude::*;
|
||||
use std::iter::Peekable;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![cfg_attr(not(bootstrap), allow(rustc::symbol_intern_string_literal))]
|
||||
|
||||
use rustc_ast::token::{self, IdentIsRaw};
|
||||
use rustc_ast::tokenstream::{TokenStream, TokenTree};
|
||||
use rustc_span::{BytePos, Span, Symbol, create_default_session_globals_then};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue