]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/create_dir.stderr
Rollup merge of #78769 - est31:remove_lifetimes, r=KodrAus
[rust.git] / src / tools / clippy / tests / ui / create_dir.stderr
1 error: calling `std::fs::create_dir` where there may be a better way
2   --> $DIR/create_dir.rs:11:5
3    |
4 LL |     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
9 error: calling `std::fs::create_dir` where there may be a better way
10   --> $DIR/create_dir.rs:12:5
11    |
12 LL |     std::fs::create_dir("bar").unwrap();
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `std::fs::create_dir_all` instead: `create_dir_all("bar")`
14
15 error: aborting due to 2 previous errors
16