diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-11-27 17:52:57 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2024-11-28 15:45:27 +0000 |
| commit | 71b698c0b81c2e35c852ebcdf1f5cbe9e9162a50 (patch) | |
| tree | dbe91e29ec618b7e46ffb36ec6112e4ca49f17f4 /compiler/rustc_parse/src/parser | |
| parent | 72d2db7bf46f565f4ee5cc73d65b4f4906e7420e (diff) | |
| download | rust-71b698c0b81c2e35c852ebcdf1f5cbe9e9162a50.tar.gz rust-71b698c0b81c2e35c852ebcdf1f5cbe9e9162a50.zip | |
Replace `Symbol::intern` calls with preinterned symbols
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/ty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/parser/ty.rs b/compiler/rustc_parse/src/parser/ty.rs index c561ea3823d..4ddf791f70b 100644 --- a/compiler/rustc_parse/src/parser/ty.rs +++ b/compiler/rustc_parse/src/parser/ty.rs @@ -9,7 +9,7 @@ use rustc_ast::{ }; use rustc_errors::{Applicability, PResult}; use rustc_span::symbol::{Ident, kw, sym}; -use rustc_span::{ErrorGuaranteed, Span, Symbol}; +use rustc_span::{ErrorGuaranteed, Span}; use thin_vec::{ThinVec, thin_vec}; use super::{Parser, PathStyle, SeqSep, TokenType, Trailing}; @@ -1139,7 +1139,7 @@ impl<'a> Parser<'a> { Some(ast::Path { span: fn_token_span.to(self.prev_token.span), segments: thin_vec