Small macro fix

This commit is contained in:
Kirill Bulatov
2021-05-06 20:12:30 +03:00
parent 6a16ec52aa
commit 607d8a2f61
+1 -1
View File
@@ -381,7 +381,7 @@ fn expected_type_and_name(&self) -> (Option<Type>, Option<NameOrNameRef>) {
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) => {