Resolve paths to defs (functions currently) during type inference
This commit is contained in:
@@ -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,)]
|
||||
|
||||
Reference in New Issue
Block a user