summaryrefslogtreecommitdiff
path: root/src/ast/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-09-05 12:14:50 +0800
committerJohn Hodge <tpg@mutabah.net>2015-09-05 12:14:50 +0800
commit0b6d7c51056ed7b8eb25af6041c4feb5e6e23051 (patch)
tree33b4f6587a43fb5dae9907db6e94c19880300a73 /src/ast/path.hpp
parentdb10e8219fefb01415b3a79e973844401d97c1ee (diff)
downloadmrust-0b6d7c51056ed7b8eb25af6041c4feb5e6e23051.tar.gz
Resolve - Work resolving UFCS traits
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r--src/ast/path.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp
index 04de1aeb..0fa4ff04 100644
--- a/src/ast/path.hpp
+++ b/src/ast/path.hpp
@@ -276,6 +276,7 @@ public:
bool is_concrete() const;
+ bool is_bound() const { return !m_binding.is_Unbound(); }
const PathBinding& binding() const { return m_binding; }
void bind_variable(unsigned int slot);