1
Fork 0

avoid a Symbol to String conversion

This commit is contained in:
Takayuki Maeda 2022-07-20 18:19:25 +09:00
parent 9a7b7d5e50
commit 57a155b9fa
2 changed files with 2 additions and 4 deletions

View file

@ -467,7 +467,7 @@ pub enum BuiltinLintDiagnostics {
/// If true, the lifetime will be fully elided.
use_span: Option<(Span, bool)>,
},
NamedArgumentUsedPositionally(Option<Span>, Span, String),
NamedArgumentUsedPositionally(Option<Span>, Span, Symbol),
}
/// Lints that are buffered up early on in the `Session` before the