From 93c2ebf9944274ca9d1e97589a992ff52c04f07d Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Thu, 27 Dec 2012 14:36:00 -0500 Subject: syntax: convert ast::spanned into a struct --- src/libsyntax/print/pprust.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libsyntax/print') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index c121bc30b96..dda83aa2d0e 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -599,7 +599,8 @@ fn print_item(s: ps, &&item: @ast::item) { } bclose(s, item.span); } - ast::item_mac({node: ast::mac_invoc_tt(pth, ref tts), _}) => { + ast::item_mac(ast::spanned { node: ast::mac_invoc_tt(pth, ref tts), + _}) => { print_visibility(s, item.vis); print_path(s, pth, false); word(s.s, ~"! "); -- cgit 1.4.1-3-g733a5