2020-08-27 12:27:14 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `foo`
|
2022-12-30 18:40:16 +00:00
|
|
|
--> $DIR/issue-72911.rs:11:33
|
2020-07-26 09:54:54 +00:00
|
|
|
|
|
|
|
|
LL | fn gather_from_file(dir_entry: &foo::MissingItem) -> impl Iterator<Item = Lint> {
|
2020-08-27 12:27:14 +00:00
|
|
|
| ^^^ use of undeclared crate or module `foo`
|
2020-07-26 09:54:54 +00:00
|
|
|
|
2020-08-27 12:27:14 +00:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `foo`
|
2022-12-30 18:40:16 +00:00
|
|
|
--> $DIR/issue-72911.rs:16:41
|
2020-07-26 09:54:54 +00:00
|
|
|
|
|
|
|
|
LL | fn lint_files() -> impl Iterator<Item = foo::MissingItem> {
|
2020-08-27 12:27:14 +00:00
|
|
|
| ^^^ use of undeclared crate or module `foo`
|
2020-07-26 09:54:54 +00:00
|
|
|
|
2022-12-30 18:40:16 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2020-07-26 09:54:54 +00:00
|
|
|
|
2022-12-30 18:40:16 +00:00
|
|
|
For more information about this error, try `rustc --explain E0433`.
|