diff options
author | John Hodge <tpg@mutabah.net> | 2016-06-08 22:53:16 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-06-08 22:53:16 +0800 |
commit | e637dc66e04a587764dbb48a54765c1526dbaa3f (patch) | |
tree | a46b0318404a1d7c23669307b3ea9e8cb2a3f74e /src/parse | |
parent | 0c50c6f50831bc79c12aed4e3a83ab8919661d34 (diff) | |
download | mrust-e637dc66e04a587764dbb48a54765c1526dbaa3f.tar.gz |
HIR - Lower associated type bounds, use those in typeck
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/paths.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse/paths.cpp b/src/parse/paths.cpp index 2c97075e..6b84ec0b 100644 --- a/src/parse/paths.cpp +++ b/src/parse/paths.cpp @@ -156,9 +156,8 @@ AST::Path Parse_Path(TokenStream& lex, bool is_abs, eParsePathGenericMode generi params = ::AST::PathParams { {}, ::std::vector<TypeRef> { TypeRef(TypeRef::TagTuple(), lex.end_span(ps), ::std::move(args)) }, - { ::std::make_pair( (::std::string)"Output", mv$(ret_type) ) } + { ::std::make_pair( ::std::string("Output"), mv$(ret_type) ) } }; - // TODO: Use 'ret_type' as an associated type bound GET_TOK(tok, lex); } |