mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
clippy::clone_on_copy
This commit is contained in:
parent
6cc6dee9e9
commit
705f7e6e26
7 changed files with 6 additions and 7 deletions
|
@ -45,7 +45,6 @@ impl ProcMacroExpander {
|
|||
let proc_macro = krate_graph[self.krate]
|
||||
.proc_macro
|
||||
.get(id.0 as usize)
|
||||
.clone()
|
||||
.ok_or_else(|| err!("No derive macro found."))?;
|
||||
|
||||
// Proc macros have access to the environment variables of the invoking crate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue