]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-4366.stderr
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / test / ui / imports / issue-4366.stderr
1 error[E0425]: cannot find function `foo` in this scope
2   --> $DIR/issue-4366.rs:18:29
3    |
4 LL |         fn sub() -> isize { foo(); 1 }
5    |                             ^^^ not found in this scope
6    |
7 help: consider importing this function
8    |
9 LL |         use foo::foo;
10    |
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0425`.