]> git.proxmox.com Git - rustc.git/blame - src/test/ui/imports/issue-4366-2.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / imports / issue-4366-2.stderr
CommitLineData
0731742a
XL
1error[E0412]: cannot find type `Bar` in this scope
2 --> $DIR/issue-4366-2.rs:15:21
8faf50e0 3 |
0731742a 4LL | fn sub() -> Bar { 1 }
8faf50e0 5 | ^^^ not found in this scope
e74abb32 6 |
c295e0f8
XL
7note: type alias `a::b::Bar` exists but is inaccessible
8 --> $DIR/issue-4366-2.rs:11:9
8faf50e0 9 |
c295e0f8
XL
10LL | type Bar = isize;
11 | ^^^^^^^^^^^^^^^^^ not accessible
8faf50e0
XL
12
13error[E0423]: expected function, found module `foo`
0731742a 14 --> $DIR/issue-4366-2.rs:25:5
8faf50e0 15 |
532ac7d7 16LL | foo();
8faf50e0 17 | ^^^ not a function
e74abb32 18 |
f035d41b 19help: consider importing this function instead
8faf50e0
XL
20 |
21LL | use foo::foo;
22 |
8faf50e0
XL
23
24error: aborting due to 2 previous errors
25
48663c56 26Some errors have detailed explanations: E0412, E0423.
8faf50e0 27For more information about an error, try `rustc --explain E0412`.