summaryrefslogtreecommitdiff
path: root/src/ast/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-31 19:28:22 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-31 19:28:22 +0800
commit443e92160885b4b7c3b0c0777b98566b70639861 (patch)
tree9e67ef5f31ef2ca666508e9febf6829fb2a70d2d /src/ast/path.hpp
parent891dffa57cdd2fd8b36d33c7588380355353f890 (diff)
downloadmrust-443e92160885b4b7c3b0c0777b98566b70639861.tar.gz
HIR From AST - Box receiver, start on fixing missing information
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r--src/ast/path.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp
index 818d26eb..f8a852c6 100644
--- a/src/ast/path.hpp
+++ b/src/ast/path.hpp
@@ -18,6 +18,7 @@ class TypeRef;
namespace HIR {
class Module;
+class Trait;
} // namespace HIR
namespace AST {
@@ -51,6 +52,7 @@ TAGGED_UNION_EX(PathBinding, (), Unbound, (
}),
(Trait, struct {
const Trait* trait_;
+ const ::HIR::Trait* hir = nullptr;
}),
(Static, struct {
const Static* static_;