diff options
| author | Corey Richardson <corey@octayn.net> | 2014-07-08 22:28:52 -0700 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2014-07-09 00:49:54 -0700 |
| commit | 69a0cdf49195d2bc042b44f75e309eb280bcc475 (patch) | |
| tree | 0cb4cd8360a223b72c5ce0bc3e3701786a381bd4 /src/libsyntax/parse/token.rs | |
| parent | 092c5078be5b9abfc4e1a80e3ef9d015d321479c (diff) | |
| download | rust-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.rs | 4 |
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() { |
