summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-07-10 16:21:58 +1000
committerJohn Hodge <tpg@mutabah.net>2016-07-10 16:21:58 +1000
commit260ae13e6170fd52c9f4500fd1d8889fc1d80c56 (patch)
treec7e73c400826e2006cd494999097b1cd3bee2c94
parentc6b76c4d3612e3029767fbf08c09f2986e90d11a (diff)
downloadmrust-260ae13e6170fd52c9f4500fd1d8889fc1d80c56.tar.gz
HIR - (comment) Need to record source trait for type bounds
-rw-r--r--src/hir/path.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp
index eb88317d..9ec75522 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -114,6 +114,7 @@ class TraitPath
public:
GenericPath m_path;
::std::vector< ::std::string> m_hrls;
+ // TODO: Each bound should list its origin trait
::std::map< ::std::string, ::HIR::TypeRef> m_type_bounds;
const ::HIR::Trait* m_trait_ptr;