Small macro fix

This commit is contained in:
Kirill Bulatov 2021-05-06 20:12:30 +03:00
parent 6a16ec52aa
commit 607d8a2f61

View File

@ -381,7 +381,7 @@ impl<'a> CompletionContext<'a> {
let def = self.sema.to_def(&it);
(def.map(|def| def.ret_type(self.db)), None)
},
ast::Stmt(_) => (None, None),
ast::Stmt(_it) => (None, None),
_ => {
match node.parent() {
Some(n) => {