mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
fix clippy::useless_conversion
This commit is contained in:
parent
451fcd3c79
commit
62ed658311
11 changed files with 25 additions and 29 deletions
|
@ -570,7 +570,7 @@ impl DefCollector<'_> {
|
|||
|
||||
let proc_macro_id =
|
||||
ProcMacroLoc { container: module_id, id, expander, kind }.intern(self.db);
|
||||
self.define_proc_macro(def.name.clone(), proc_macro_id.into());
|
||||
self.define_proc_macro(def.name.clone(), proc_macro_id);
|
||||
if let ProcMacroKind::CustomDerive { helpers } = def.kind {
|
||||
self.def_map
|
||||
.exported_derives
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue