1 error[E0433]: failed to resolve: use of undeclared crate or module `foo`
2 --> $DIR/issue-72911.rs:11:33
4 LL | fn gather_from_file(dir_entry: &foo::MissingItem) -> impl Iterator<Item = Lint> {
5 | ^^^ use of undeclared crate or module `foo`
7 error[E0433]: failed to resolve: use of undeclared crate or module `foo`
8 --> $DIR/issue-72911.rs:16:41
10 LL | fn lint_files() -> impl Iterator<Item = foo::MissingItem> {
11 | ^^^ use of undeclared crate or module `foo`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0433`.