mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
Small macro fix
This commit is contained in:
parent
6a16ec52aa
commit
607d8a2f61
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user