summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r--src/hir/type.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index c5d08c5f..f01c0f1d 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -222,6 +222,7 @@ public:
bool operator<(const ::HIR::TypeRef& x) const { return ord(x) == OrdLess; }
Ordering ord(const ::HIR::TypeRef& x) const;
+ bool contains_generics() const;
// Match generics in `this` with types from `x`
// Raises a bug against `sp` if there is a form mismatch or `this` has an infer