mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Resolve paths to defs (functions currently) during type inference
This commit is contained in:
parent
93ffbf80c6
commit
ef67581104
17 changed files with 215 additions and 87 deletions
|
@ -3083,7 +3083,11 @@ impl<R: TreeRoot<RaTypes>> RetTypeNode<R> {
|
|||
}
|
||||
|
||||
|
||||
impl<'a> RetType<'a> {}
|
||||
impl<'a> RetType<'a> {
|
||||
pub fn type_ref(self) -> Option<TypeRef<'a>> {
|
||||
super::child_opt(self)
|
||||
}
|
||||
}
|
||||
|
||||
// ReturnExpr
|
||||
#[derive(Debug, Clone, Copy,)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue