]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/issue-4366-2.stderr
Auto merge of #79780 - camelid:use-summary_opts, r=GuillaumeGomez
[rust.git] / src / test / ui / imports / issue-4366-2.stderr
1 error[E0412]: cannot find type `Bar` in this scope
2   --> $DIR/issue-4366-2.rs:15:21
3    |
4 LL |         fn sub() -> Bar { 1 }
5    |                     ^^^ not found in this scope
6    |
7 help: consider importing this type alias
8    |
9 LL |         use a::b::Bar;
10    |
11
12 error[E0423]: expected function, found module `foo`
13   --> $DIR/issue-4366-2.rs:25:5
14    |
15 LL |     foo();
16    |     ^^^ not a function
17    |
18 help: consider importing this function instead
19    |
20 LL | use foo::foo;
21    |
22
23 error: aborting due to 2 previous errors
24
25 Some errors have detailed explanations: E0412, E0423.
26 For more information about an error, try `rustc --explain E0412`.