@@ -813,23 +813,23 @@ pub fn std_macros() -> @str {
813
813
mod fmt_extension {
814
814
#[ macro_escape] ;
815
815
816
- macro_rules! fmt( ( $( $arg: tt) * ) => ( oldformat !( $( $arg) * ) ) )
816
+ macro_rules! fmt( ( $( $arg: tt) * ) => ( oldfmt !( $( $arg) * ) ) )
817
817
818
818
macro_rules! log(
819
819
( $lvl: expr, $arg: expr) => ( {
820
820
let lvl = $lvl;
821
821
if lvl <= __log_level( ) {
822
822
format_args!( |args| {
823
823
:: std:: logging:: log( lvl, args)
824
- } , \"{ } \" , format !( \" { : ?} \" , $arg) )
824
+ } , \"{ } \" , fmt !( \" { : ?} \" , $arg) )
825
825
}
826
826
} ) ;
827
827
( $lvl: expr, $( $arg: expr) ,+) => ( {
828
828
let lvl = $lvl;
829
829
if lvl <= __log_level( ) {
830
830
format_args!( |args| {
831
831
:: std:: logging:: log( lvl, args)
832
- } , \"{ } \" , format !( $( $arg) ,+) )
832
+ } , \"{ } \" , fmt !( $( $arg) ,+) )
833
833
}
834
834
} )
835
835
)
@@ -848,7 +848,7 @@ pub fn std_macros() -> @str {
848
848
:: std:: sys:: FailWithCause :: fail_with( $msg, file!( ) , line!( ) )
849
849
) ;
850
850
( $( $arg: expr ) ,+) => (
851
- :: std:: sys:: FailWithCause :: fail_with( format !( $( $arg) ,+ ) , file!( ) , line!( ) )
851
+ :: std:: sys:: FailWithCause :: fail_with( fmt !( $( $arg) ,+ ) , file!( ) , line!( ) )
852
852
)
853
853
)
854
854
}
0 commit comments