@@ -364,11 +364,11 @@ macro_rules! quick_error {
364364 $( #[ $meta] ) *
365365 $( $strdef) * $strname ( $internal ) ;
366366
367- impl :: core :: fmt:: Display for $strname {
368- fn fmt( & self , f: & mut :: core :: fmt:: Formatter )
369- -> :: core :: fmt:: Result
367+ impl :: std :: fmt:: Display for $strname {
368+ fn fmt( & self , f: & mut :: std :: fmt:: Formatter )
369+ -> :: std :: fmt:: Result
370370 {
371- :: core :: fmt:: Display :: fmt( & self . 0 , f)
371+ :: std :: fmt:: Display :: fmt( & self . 0 , f)
372372 }
373373 }
374374
@@ -643,9 +643,9 @@ macro_rules! quick_error {
643643 #[ allow( renamed_and_removed_lints) ]
644644 #[ allow( unused_doc_comment) ]
645645 #[ allow( unused_doc_comments) ]
646- impl :: core :: fmt:: Display for $name {
647- fn fmt( & self , fmt: & mut :: core :: fmt:: Formatter )
648- -> :: core :: fmt:: Result
646+ impl :: std :: fmt:: Display for $name {
647+ fn fmt( & self , fmt: & mut :: std :: fmt:: Formatter )
648+ -> :: std :: fmt:: Result
649649 {
650650 match * self {
651651 $(
@@ -712,17 +712,17 @@ macro_rules! quick_error {
712712 ( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
713713 { display( $self_: tt) -> ( $( $exprs: tt ) * ) $( $tail: tt ) * }
714714 ) => {
715- |quick_error!( IDENT $self_) : & $name, f: & mut :: core :: fmt:: Formatter | { write!( f, $( $exprs ) * ) }
715+ |quick_error!( IDENT $self_) : & $name, f: & mut :: std :: fmt:: Formatter | { write!( f, $( $exprs ) * ) }
716716 } ;
717717 ( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
718718 { display( $pattern: expr) $( $tail: tt ) * }
719719 ) => {
720- |_, f: & mut :: core :: fmt:: Formatter | { write!( f, $pattern) }
720+ |_, f: & mut :: std :: fmt:: Formatter | { write!( f, $pattern) }
721721 } ;
722722 ( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
723723 { display( $pattern: expr, $( $exprs: tt ) * ) $( $tail: tt ) * }
724724 ) => {
725- |_, f: & mut :: core :: fmt:: Formatter | { write!( f, $pattern, $( $exprs ) * ) }
725+ |_, f: & mut :: std :: fmt:: Formatter | { write!( f, $pattern, $( $exprs ) * ) }
726726 } ;
727727 ( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
728728 { $t: tt $( $tail: tt ) * }
@@ -734,7 +734,7 @@ macro_rules! quick_error {
734734 ( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
735735 { }
736736 ) => {
737- |self_: & $name, f: & mut :: core :: fmt:: Formatter | {
737+ |self_: & $name, f: & mut :: std :: fmt:: Formatter | {
738738 write!( f, "{}" , :: std:: error:: Error :: description( self_) )
739739 }
740740 } ;
0 commit comments