We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffb361 commit a778203Copy full SHA for a778203
crates/ide/src/hover/render.rs
@@ -257,7 +257,7 @@ pub(super) fn struct_rest_pat(
257
) -> Option<HoverResult> {
258
let pat = expr_or_pat.as_ref().right()?;
259
260
- let mut ancestors = sema.ancestors_with_macros(pat.syntax().clone());
+ let mut ancestors = pat.syntax().ancestors();
261
let _record_pat_field_list = ancestors.next()?;
262
let record_pat = ancestors.next()?;
263
let pattern = sema
0 commit comments