File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ fn new() {
36
36
#[ test]
37
37
fn new_with_default_template ( ) {
38
38
let tmp = tempfile:: tempdir ( ) . unwrap ( ) ;
39
- let path = Utf8PathBuf :: from_path_buf ( tmp. into_path ( ) ) . expect ( "Non Utf8 Path" ) ;
39
+ let path = Utf8PathBuf :: from_path_buf ( tmp. keep ( ) ) . expect ( "Non Utf8 Path" ) ;
40
40
41
41
let creator = super :: Creator :: new (
42
42
super :: NewOptions {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use hexpm::{
8
8
version:: { Range , Version } ,
9
9
} ;
10
10
use pubgrub:: { Dependencies , Map } ;
11
- use thiserror:: Error ;
11
+ use thiserror;
12
12
13
13
pub type PackageVersions = HashMap < String , Version > ;
14
14
@@ -192,7 +192,7 @@ pub trait PackageFetcher {
192
192
fn get_dependencies ( & self , package : & str ) -> Result < Rc < hexpm:: Package > , PackageFetchError > ;
193
193
}
194
194
195
- #[ derive( Debug , Error ) ]
195
+ #[ derive( Debug , thiserror :: Error ) ]
196
196
pub enum PackageFetchError {
197
197
#[ error( "{0}" ) ]
198
198
ApiError ( hexpm:: ApiError ) ,
You can’t perform that action at this time.
0 commit comments