]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-4366.stderr
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
[rust.git] / tests / 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`.