Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_def/src/nameres/attr_resolution.rs')
| -rw-r--r-- | crates/hir_def/src/nameres/attr_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/nameres/attr_resolution.rs b/crates/hir_def/src/nameres/attr_resolution.rs index a7e2c3e8ad..3650204ee9 100644 --- a/crates/hir_def/src/nameres/attr_resolution.rs +++ b/crates/hir_def/src/nameres/attr_resolution.rs @@ -52,7 +52,7 @@ impl DefMap { return Ok(ResolvedAttr::Other); } } - None => return Err(UnresolvedMacro { path: ast_id.path.clone() }), + None => return Err(UnresolvedMacro { path: ast_id.path }), }; Ok(ResolvedAttr::Macro(attr_macro_as_call_id( |