Use Symbol for the crate name instead of String/str
This commit is contained in:
@@ -1122,7 +1122,7 @@ impl InvocationCollectorNode for P<ast::Item> {
|
||||
ecx.current_expansion.lint_node_id,
|
||||
&attrs,
|
||||
&items,
|
||||
ident.name.as_str(),
|
||||
ident.name,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user