about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2014-07-08 22:28:52 -0700
committerCorey Richardson <corey@octayn.net>2014-07-09 00:49:54 -0700
commit69a0cdf49195d2bc042b44f75e309eb280bcc475 (patch)
tree0cb4cd8360a223b72c5ce0bc3e3701786a381bd4 /src/libsyntax/parse/token.rs
parent092c5078be5b9abfc4e1a80e3ef9d015d321479c (diff)
downloadrust-69a0cdf49195d2bc042b44f75e309eb280bcc475.tar.gz
rust-69a0cdf49195d2bc042b44f75e309eb280bcc475.zip
Fix all the test fallout
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 076db789f06..5839df67022 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -757,8 +757,8 @@ mod test {
     use ast;
     use ext::mtwt;
 
-    fn mark_ident(id : Ident, m : ast::Mrk) -> Ident {
-        Ident{name:id.name,ctxt:mtwt::apply_mark(m,id.ctxt)}
+    fn mark_ident(id : ast::Ident, m : ast::Mrk) -> ast::Ident {
+        ast::Ident { name: id.name, ctxt:mtwt::apply_mark(m, id.ctxt) }
     }
 
     #[test] fn mtwt_token_eq_test() {