]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/token-error-correct-3.stderr
57dd7c9f034337b7b2bbdfcf4153f76eb8c84e7c
[rust.git] / src / test / ui / resolve / token-error-correct-3.stderr
1 error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
2   --> $DIR/token-error-correct-3.rs:15:35
3    |
4 LL |             callback(path.as_ref();
5    |                     -             ^ help: `)` may belong here
6    |                     |
7    |                     unclosed delimiter
8
9 error: expected one of `.`, `;`, `?`, `}`, or an operator, found `)`
10   --> $DIR/token-error-correct-3.rs:18:9
11    |
12 LL |             fs::create_dir_all(path.as_ref()).map(|()| true)
13    |                                                             - expected one of `.`, `;`, `?`, `}`, or an operator here
14 LL |         } else {
15    |         ^ unexpected token
16
17 error[E0425]: cannot find function `is_directory` in this scope
18   --> $DIR/token-error-correct-3.rs:13:13
19    |
20 LL |         if !is_directory(path.as_ref()) {
21    |             ^^^^^^^^^^^^ not found in this scope
22
23 error: aborting due to 3 previous errors
24
25 For more information about this error, try `rustc --explain E0425`.