From 857f8673206fd2d8803e02c68cdeb38e26b95df0 Mon Sep 17 00:00:00 2001 From: Marvin Löbel Date: Mon, 2 Sep 2013 02:50:59 +0200 Subject: Renamed syntax::ast::ident -> Ident --- src/libsyntax/print/pprust.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libsyntax/print') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 599092f4b14..c03bcca7bf9 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -185,7 +185,7 @@ pub fn path_to_str(p: &ast::Path, intr: @ident_interner) -> ~str { to_str(p, |a,b| print_path(a, b, false), intr) } -pub fn fun_to_str(decl: &ast::fn_decl, purity: ast::purity, name: ast::ident, +pub fn fun_to_str(decl: &ast::fn_decl, purity: ast::purity, name: ast::Ident, opt_explicit_self: Option, generics: &ast::Generics, intr: @ident_interner) -> ~str { do io::with_str_writer |wr| { @@ -639,7 +639,7 @@ fn print_trait_ref(s: @ps, t: &ast::trait_ref) { } pub fn print_enum_def(s: @ps, enum_definition: &ast::enum_def, - generics: &ast::Generics, ident: ast::ident, + generics: &ast::Generics, ident: ast::Ident, span: codemap::Span, visibility: ast::visibility) { head(s, visibility_qualified(visibility, "enum")); print_ident(s, ident); @@ -691,7 +691,7 @@ pub fn print_visibility(s: @ps, vis: ast::visibility) { pub fn print_struct(s: @ps, struct_def: &ast::struct_def, generics: &ast::Generics, - ident: ast::ident, + ident: ast::Ident, span: codemap::Span) { print_ident(s, ident); print_generics(s, generics); @@ -1495,7 +1495,7 @@ pub fn print_decl(s: @ps, decl: &ast::decl) { } } -pub fn print_ident(s: @ps, ident: ast::ident) { +pub fn print_ident(s: @ps, ident: ast::Ident) { word(s.s, ident_to_str(&ident)); } @@ -1698,7 +1698,7 @@ pub fn print_fn(s: @ps, decl: &ast::fn_decl, purity: Option, abis: AbiSet, - name: ast::ident, + name: ast::Ident, generics: &ast::Generics, opt_explicit_self: Option, vis: ast::visibility) { @@ -1946,7 +1946,7 @@ pub fn print_ty_fn(s: @ps, purity: ast::purity, onceness: ast::Onceness, decl: &ast::fn_decl, - id: Option, + id: Option, opt_bounds: &Option>, generics: Option<&ast::Generics>, opt_explicit_self: Option) { -- cgit 1.4.1-3-g733a5