fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: calling `std::fs::create_dir` where there may be a better way 2 --> $DIR/create_dir.rs:10:5 3 | 4LL | std::fs::create_dir("foo"); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `std::fs::create_dir_all` instead: `create_dir_all("foo")` 6 | 7 = note: `-D clippy::create-dir` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::create_dir)]` 9 10error: calling `std::fs::create_dir` where there may be a better way 11 --> $DIR/create_dir.rs:11:5 12 | 13LL | std::fs::create_dir("bar").unwrap(); 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `std::fs::create_dir_all` instead: `create_dir_all("bar")` 15 16error: aborting due to 2 previous errors 17