librustc: Remove @fn managed closures from the language.

This commit is contained in:
Patrick Walton 2013-09-10 18:57:24 -07:00
parent 9a4de3f305
commit 68ea9aed96
15 changed files with 90 additions and 112 deletions

View file

@ -2265,17 +2265,6 @@ pub fn print_fn_header_info(s: @ps,
print_opt_sigil(s, opt_sigil);
}
pub fn opt_sigil_to_str(opt_p: Option<ast::Sigil>) -> &'static str {
match opt_p {
None => "fn",
Some(p) => match p {
ast::BorrowedSigil => "fn&",
ast::OwnedSigil => "fn~",
ast::ManagedSigil => "fn@"
}
}
}
pub fn purity_to_str(p: ast::purity) -> &'static str {
match p {
ast::impure_fn => "impure",