summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-06-08 22:53:16 +0800
committerJohn Hodge <tpg@mutabah.net>2016-06-08 22:53:16 +0800
commite637dc66e04a587764dbb48a54765c1526dbaa3f (patch)
treea46b0318404a1d7c23669307b3ea9e8cb2a3f74e /src/parse
parent0c50c6f50831bc79c12aed4e3a83ab8919661d34 (diff)
downloadmrust-e637dc66e04a587764dbb48a54765c1526dbaa3f.tar.gz
HIR - Lower associated type bounds, use those in typeck
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/paths.cpp3
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);
}