summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-06-12 21:39:16 +0800
committerJohn Hodge <tpg@mutabah.net>2016-06-12 21:39:16 +0800
commit1e702d1fb104b6b4a040945d8b18a7afdb216b5e (patch)
tree381216429f76b11a71b00d463eedab3e06d7fe00 /src/hir/type.hpp
parentb182c3780e0398921372ecef6780de3d0f89b016 (diff)
downloadmrust-1e702d1fb104b6b4a040945d8b18a7afdb216b5e.tar.gz
HIR Typecheck - Rework handling of trait impl searching
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r--src/hir/type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index 70a0419d..27757d45 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -202,7 +202,7 @@ public:
bool match_test_generics(const Span& sp, const ::HIR::TypeRef& x, t_cb_resolve_type resolve_placeholder, ::std::function<void(unsigned int, const ::HIR::TypeRef&)> callback) const;
// 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;
+ Compare compare_with_placeholders(const Span& sp, const ::HIR::TypeRef& x, t_cb_resolve_type resolve_placeholder) const;
};
extern ::std::ostream& operator<<(::std::ostream& os, const ::HIR::TypeRef& ty);