summaryrefslogtreecommitdiff
path: root/src/hir/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-16 11:56:41 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-16 11:56:41 +0800
commit0733ed89c69f6488e4c1a6c18a51e355231c1969 (patch)
tree6f6f14c523a3f323c753541db3759e51d0dfc81d /src/hir/path.hpp
parentcca4ff65a4fc2f52563ee5db5a2b358b813d946f (diff)
downloadmrust-0733ed89c69f6488e4c1a6c18a51e355231c1969.tar.gz
HIR - Path lowering hacked up
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r--src/hir/path.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp
index 70d48cc0..a003b4ea 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -46,6 +46,7 @@ public:
GenericPath();
GenericPath(::HIR::SimplePath sp);
+ GenericPath(::HIR::SimplePath sp, ::HIR::PathParams params);
};
class Path
@@ -60,6 +61,7 @@ public:
TypeRefPtr type;
GenericPath trait;
::std::string item;
+ PathParams params;
})
);
@@ -68,6 +70,7 @@ private:
public:
Path(GenericPath _);
+ Path(TypeRefPtr type, GenericPath trait, ::std::string item, PathParams params);
Path(SimplePath _);
};