summaryrefslogtreecommitdiff
path: root/src/hir/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-11-27 18:32:57 +0800
committerJohn Hodge <tpg@mutabah.net>2016-11-27 18:32:57 +0800
commit3aa77e8cd45c4597867751814bebabb9daad5ae8 (patch)
tree45d6357ad5d100b421bfeef784a6c93653229f46 /src/hir/path.hpp
parent11476adc4196c5810b44cfa8f2a97fe8d98460a6 (diff)
downloadmrust-3aa77e8cd45c4597867751814bebabb9daad5ae8.tar.gz
HIR - Move impl parameters from node to the path
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r--src/hir/path.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp
index ae875620..af07e453 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -1,4 +1,9 @@
/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * hir/path.hpp
+ * - Item paths
*/
#ifndef _HIR_PATH_HPP_
#define _HIR_PATH_HPP_
@@ -175,12 +180,14 @@ public:
::std::unique_ptr<TypeRef> type;
::std::string item;
PathParams params;
+ PathParams impl_params;
}),
(UfcsKnown, struct {
::std::unique_ptr<TypeRef> type;
GenericPath trait;
::std::string item;
PathParams params;
+ PathParams impl_params;
}),
(UfcsUnknown, struct {
::std::unique_ptr<TypeRef> type;