summaryrefslogtreecommitdiff
path: root/src/hir/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-14 10:59:18 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-14 10:59:18 +0800
commitf043a45fd21bab906cafc8964a892a64def65ec9 (patch)
tree63217329f82a015cff4fc6e78e37be606065ff64 /src/hir/path.hpp
parent432892ea9ce604b6d12d6b087ad6328eb335f70c (diff)
downloadmrust-f043a45fd21bab906cafc8964a892a64def65ec9.tar.gz
Remove requirement for all variants of tagged unions to be empty-constructable
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 cf17be17..62c70ce2 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -40,6 +40,9 @@ class Path
// Two possibilities
// - UFCS
// - Generic path
+public:
+ Path(GenericPath _);
+ Path(SimplePath _);
};
} // namespace HIR