2020-08-28 04:40:22 -05:00
|
|
|
error: calling `std::fs::create_dir` where there may be a better way
|
2020-09-08 09:35:19 -05:00
|
|
|
--> $DIR/create_dir.rs:11:5
|
2020-08-28 04:40:22 -05:00
|
|
|
|
|
|
|
|
LL | std::fs::create_dir("foo");
|
2020-09-08 09:35:19 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `std::fs::create_dir_all` instead: `create_dir_all("foo")`
|
2020-08-28 04:40:22 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::create-dir` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: calling `std::fs::create_dir` where there may be a better way
|
2020-09-08 09:35:19 -05:00
|
|
|
--> $DIR/create_dir.rs:12:5
|
2020-08-28 04:40:22 -05:00
|
|
|
|
|
|
|
|
LL | std::fs::create_dir("bar").unwrap();
|
2020-09-08 09:35:19 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `std::fs::create_dir_all` instead: `create_dir_all("bar")`
|
2020-08-28 04:40:22 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|