From 6943b38e4fd75dfd3c6ff80b96060ec9a39e01e9 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 10 Feb 2012 13:39:15 -0800 Subject: rustc: Add crust functions to the AST --- src/comp/syntax/print/pprust.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp/syntax/print') diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs index 047653cc4c9..b0ed7ceed00 100644 --- a/src/comp/syntax/print/pprust.rs +++ b/src/comp/syntax/print/pprust.rs @@ -1199,6 +1199,7 @@ fn print_fn(s: ps, decl: ast::fn_decl, name: ast::ident, ast::impure_fn { head(s, "fn"); } ast::unsafe_fn { head(s, "unsafe fn"); } ast::pure_fn { head(s, "pure fn"); } + ast::crust_fn { head(s, "crust fn"); } } word(s.s, name); print_type_params(s, typarams); -- cgit 1.4.1-3-g733a5