LL | fn sub() -> Bar { 1 }
| ^^^ not found in this scope
|
-help: consider importing this type alias
- |
-LL | use a::b::Bar;
+note: type alias `a::b::Bar` exists but is inaccessible
+ --> $DIR/issue-4366-2.rs:11:9
|
+LL | type Bar = isize;
+ | ^^^^^^^^^^^^^^^^^ not accessible
error[E0423]: expected function, found module `foo`
--> $DIR/issue-4366-2.rs:25:5