Reame PlaceholderType -> InferType

This commit is contained in:
Aleksey Kladov 2020-07-31 13:22:47 +02:00
parent 08ea2271e8
commit a6e45c6c69
10 changed files with 28 additions and 28 deletions

View file

@ -111,7 +111,7 @@ impl TypeRef {
let mutability = Mutability::from_mutable(inner.mut_token().is_some());
TypeRef::Reference(Box::new(inner_ty), mutability)
}
ast::Type::PlaceholderType(_inner) => TypeRef::Placeholder,
ast::Type::InferType(_inner) => TypeRef::Placeholder,
ast::Type::FnPointerType(inner) => {
let ret_ty = inner
.ret_type()