Use Symbol
for the crate name instead of String
/str
This commit is contained in:
parent
e60fbaf4ce
commit
d30848b30a
18 changed files with 103 additions and 92 deletions
|
@ -1122,7 +1122,7 @@ impl InvocationCollectorNode for P<ast::Item> {
|
|||
ecx.current_expansion.lint_node_id,
|
||||
&attrs,
|
||||
&items,
|
||||
ident.name.as_str(),
|
||||
ident.name,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue