diff options
author | Aleksey Kladov <[email protected]> | 2020-07-31 12:22:47 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-31 13:12:51 +0100 |
commit | a6e45c6c69bf258118940941c12d057deb79e60c (patch) | |
tree | 35fa6b63518cec8219a43e96525f6d570ac18eec /crates/ra_hir_def | |
parent | 08ea2271e8050165d0aaf4c994ed3dd746aff3ba (diff) |
Reame PlaceholderType -> InferType
Diffstat (limited to 'crates/ra_hir_def')
-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() |