From ec2895e95649ca87bcac54ee635abb8b6f78b086 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 9 Apr 2021 17:14:48 +0200 Subject: Insert unnamed consts to ChildBySource DynMap --- crates/ide_assists/src/handlers/remove_dbg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ide_assists/src') diff --git a/crates/ide_assists/src/handlers/remove_dbg.rs b/crates/ide_assists/src/handlers/remove_dbg.rs index 2862cfa9c..c8226550f 100644 --- a/crates/ide_assists/src/handlers/remove_dbg.rs +++ b/crates/ide_assists/src/handlers/remove_dbg.rs @@ -30,7 +30,7 @@ pub(crate) fn remove_dbg(acc: &mut Assists, ctx: &AssistContext) -> Option<()> { if new_contents.is_empty() { match_ast! { match it { - ast::BlockExpr(it) => { + ast::BlockExpr(_it) => { macro_call.syntax() .prev_sibling_or_token() .and_then(whitespace_start) -- cgit v1.2.3