diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-31 13:13:31 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-31 13:13:31 +0100 |
commit | eccb5d52d3c4b82b6b61e231aa137b4aeb8c94ec (patch) | |
tree | a40a875cf0c364144d656f77b30b464f372f3667 /crates/ra_hir_def/src | |
parent | 8c802a3dbb5ea1dea8de17f59d0620e3a710474a (diff) | |
parent | a6e45c6c69bf258118940941c12d057deb79e60c (diff) |
Merge #5619
5619: Reame PlaceholderType -> InferType r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/type_ref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/type_ref.rs b/crates/ra_hir_def/src/type_ref.rs index 9386b91cb..524c033b8 100644 --- a/crates/ra_hir_def/src/type_ref.rs +++ b/crates/ra_hir_def/src/type_ref.rs | |||
@@ -111,7 +111,7 @@ impl TypeRef { | |||
111 | let mutability = Mutability::from_mutable(inner.mut_token().is_some()); | 111 | let mutability = Mutability::from_mutable(inner.mut_token().is_some()); |
112 | TypeRef::Reference(Box::new(inner_ty), mutability) | 112 | TypeRef::Reference(Box::new(inner_ty), mutability) |
113 | } | 113 | } |
114 | ast::Type::PlaceholderType(_inner) => TypeRef::Placeholder, | 114 | ast::Type::InferType(_inner) => TypeRef::Placeholder, |
115 | ast::Type::FnPointerType(inner) => { | 115 | ast::Type::FnPointerType(inner) => { |
116 | let ret_ty = inner | 116 | let ret_ty = inner |
117 | .ret_type() | 117 | .ret_type() |