File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use std::env;
6
6
use std:: num:: ParseIntError ;
7
7
use std:: path:: { Path , PathBuf } ;
8
8
9
- use quick_error:: { Context , ResultExt } ;
9
+ use quick_error:: ResultExt ;
10
10
11
11
quick_error ! {
12
12
#[ derive( Debug ) ]
Original file line number Diff line number Diff line change @@ -668,8 +668,11 @@ macro_rules! quick_error {
668
668
{ context( $cvar: ident: $ctyp: ty, $fvar: ident: $ftyp: ty)
669
669
-> ( $( $texpr: expr ) ,* ) $( $tail: tt ) * }
670
670
) => {
671
- impl <' a> From <Context <$ctyp, $ftyp>> for $name {
672
- fn from( Context ( $cvar, $fvar) : Context <$ctyp, $ftyp>) -> $name {
671
+ impl <' a> From <$crate:: Context <$ctyp, $ftyp>> for $name {
672
+ fn from(
673
+ $crate:: Context ( $cvar, $fvar) : $crate:: Context <$ctyp, $ftyp>)
674
+ -> $name
675
+ {
673
676
$name:: $item( $( $texpr ) ,* )
674
677
}
675
678
}
You can’t perform that action at this time.
0 commit comments