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