diff options
author | John Hodge <tpg@ucc.asn.au> | 2016-06-09 17:04:50 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2016-06-09 17:04:50 +0800 |
commit | 01d97106b9977f5f0226b4c446616f195fbeaaf4 (patch) | |
tree | 27dde34b6c780ae0a5dfdfa32600c3d7522dbaee /src/hir/type.hpp | |
parent | dbcc52b7a61f16893353572d4b9234967c33a39b (diff) | |
download | mrust-01d97106b9977f5f0226b4c446616f195fbeaaf4.tar.gz |
HIR Typecheck - Replace associated types with known bounds (IntoIter)
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r-- | src/hir/type.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp index 597319a9..b3dd0fc8 100644 --- a/src/hir/type.hpp +++ b/src/hir/type.hpp @@ -15,8 +15,6 @@ class Enum; class TypeRef; -typedef ::std::function<const ::HIR::TypeRef&(const ::HIR::TypeRef&)> t_cb_resolve_type; - enum class InferClass { None, @@ -172,11 +170,6 @@ public: // Raises a bug against `sp` if there is a form mismatch or `this` has an infer void match_generics(const Span& sp, const ::HIR::TypeRef& x, t_cb_resolve_type resolve_placeholder, ::std::function<void(unsigned int, const ::HIR::TypeRef&)> callback) const; - enum Compare { - Equal, - Fuzzy, - Unequal, - }; // Compares this type with another, using `resolve_placeholder` to get replacements for generics/infers in `x` Compare compare_with_paceholders(const Span& sp, const ::HIR::TypeRef& x, t_cb_resolve_type resolve_placeholder) const; }; |