@@ -364,11 +364,11 @@ macro_rules! quick_error {
364
364
$( #[ $meta] ) *
365
365
$( $strdef) * $strname ( $internal ) ;
366
366
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
370
370
{
371
- :: core :: fmt:: Display :: fmt( & self . 0 , f)
371
+ :: std :: fmt:: Display :: fmt( & self . 0 , f)
372
372
}
373
373
}
374
374
@@ -643,9 +643,9 @@ macro_rules! quick_error {
643
643
#[ allow( renamed_and_removed_lints) ]
644
644
#[ allow( unused_doc_comment) ]
645
645
#[ 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
649
649
{
650
650
match * self {
651
651
$(
@@ -712,17 +712,17 @@ macro_rules! quick_error {
712
712
( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
713
713
{ display( $self_: tt) -> ( $( $exprs: tt ) * ) $( $tail: tt ) * }
714
714
) => {
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 ) * ) }
716
716
} ;
717
717
( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
718
718
{ display( $pattern: expr) $( $tail: tt ) * }
719
719
) => {
720
- |_, f: & mut :: core :: fmt:: Formatter | { write!( f, $pattern) }
720
+ |_, f: & mut :: std :: fmt:: Formatter | { write!( f, $pattern) }
721
721
} ;
722
722
( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
723
723
{ display( $pattern: expr, $( $exprs: tt ) * ) $( $tail: tt ) * }
724
724
) => {
725
- |_, f: & mut :: core :: fmt:: Formatter | { write!( f, $pattern, $( $exprs ) * ) }
725
+ |_, f: & mut :: std :: fmt:: Formatter | { write!( f, $pattern, $( $exprs ) * ) }
726
726
} ;
727
727
( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
728
728
{ $t: tt $( $tail: tt ) * }
@@ -734,7 +734,7 @@ macro_rules! quick_error {
734
734
( FIND_DISPLAY_IMPL $name: ident $item: ident: $imode: tt
735
735
{ }
736
736
) => {
737
- |self_: & $name, f: & mut :: core :: fmt:: Formatter | {
737
+ |self_: & $name, f: & mut :: std :: fmt:: Formatter | {
738
738
write!( f, "{}" , :: std:: error:: Error :: description( self_) )
739
739
}
740
740
} ;
0 commit comments