File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1004,9 +1004,7 @@ fn lint_named_arguments_used_positionally(
10041004 node_id : ast:: CRATE_NODE_ID ,
10051005 lint_id : LintId :: of ( & NAMED_ARGUMENTS_USED_POSITIONALLY ) ,
10061006 diagnostic : BuiltinLintDiagnostics :: NamedArgumentUsedPositionally (
1007- arg_span,
1008- span,
1009- symbol. to_string ( ) ,
1007+ arg_span, span, symbol,
10101008 ) ,
10111009 } ) ;
10121010 }
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ pub enum BuiltinLintDiagnostics {
467467 /// If true, the lifetime will be fully elided.
468468 use_span : Option < ( Span , bool ) > ,
469469 } ,
470- NamedArgumentUsedPositionally ( Option < Span > , Span , String ) ,
470+ NamedArgumentUsedPositionally ( Option < Span > , Span , Symbol ) ,
471471}
472472
473473/// Lints that are buffered up early on in the `Session` before the
You can’t perform that action at this time.
0 commit comments