summary refs log tree commit diff
path: root/src/comp/syntax/print
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-10 13:39:15 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-14 11:24:09 -0800
commit6943b38e4fd75dfd3c6ff80b96060ec9a39e01e9 (patch)
tree68375cf27e462c6c3e9e1ae102bee7060f3345ec /src/comp/syntax/print
parentacabd821d2c3503c087b2ce2bd784c14f48cb407 (diff)
downloadrust-6943b38e4fd75dfd3c6ff80b96060ec9a39e01e9.tar.gz
rust-6943b38e4fd75dfd3c6ff80b96060ec9a39e01e9.zip
rustc: Add crust functions to the AST
Diffstat (limited to 'src/comp/syntax/print')
-rw-r--r--src/comp/syntax/print/pprust.rs1
1 files changed, 1 insertions, 0 deletions
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);