summaryrefslogtreecommitdiff
path: root/src/expand/file_line.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2016-06-04 23:44:25 +0800
committerJohn Hodge <tpg@ucc.asn.au>2016-06-04 23:44:25 +0800
commitb745c5f88faf89af9a487b7cf0cfc362b73c0423 (patch)
treee2b99aeaa80dc08cd96382c9be94e9c2a880a50a /src/expand/file_line.cpp
parent31bff06cbd7b208096958edb21c4a50e17b6e9f5 (diff)
downloadmrust-b745c5f88faf89af9a487b7cf0cfc362b73c0423.tar.gz
Resolve - Fix variable resolution and pattern binding
Diffstat (limited to 'src/expand/file_line.cpp')
-rw-r--r--src/expand/file_line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/file_line.cpp b/src/expand/file_line.cpp
index 75ce5679..c3bfc2de 100644
--- a/src/expand/file_line.cpp
+++ b/src/expand/file_line.cpp
@@ -21,7 +21,7 @@ class CExpanderLine:
::std::unique_ptr<TokenStream> expand(const Span& sp, const AST::Crate& crate, const ::std::string& ident, const TokenTree& tt, AST::Module& mod) override
{
- return box$( TTStreamO(TokenTree(Token((uint64_t)sp.start_line, CORETYPE_I32))) );
+ return box$( TTStreamO(TokenTree(Token((uint64_t)sp.start_line, CORETYPE_U32))) );
}
};