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