fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
462 B16 linesraw
1error[E0425]: cannot find function `foo` in this scope
2  --> $DIR/issue-4366.rs:18:29
3   |
4LL |         fn sub() -> isize { foo(); 1 }
5   |                             ^^^ not found in this scope
6   |
7help: possible candidates are found in other modules, you can import them into scope
8   |
9LL |         use foo::foo;
10   |
11LL |         use m1::foo;
12   |
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0425`.