]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0433]: failed to resolve: use of undeclared crate or module `foo` |
3dfed10e XL |
2 | --> $DIR/issue-72911.rs:12:33 |
3 | | | |
4 | LL | fn gather_from_file(dir_entry: &foo::MissingItem) -> impl Iterator<Item = Lint> { | |
1b1a35ee | 5 | | ^^^ use of undeclared crate or module `foo` |
3dfed10e | 6 | |
1b1a35ee | 7 | error[E0433]: failed to resolve: use of undeclared crate or module `foo` |
3dfed10e XL |
8 | --> $DIR/issue-72911.rs:17:41 |
9 | | | |
10 | LL | fn lint_files() -> impl Iterator<Item = foo::MissingItem> { | |
1b1a35ee | 11 | | ^^^ use of undeclared crate or module `foo` |
3dfed10e | 12 | |
ee023bcb | 13 | error[E0282]: type annotations needed |
3dfed10e XL |
14 | --> $DIR/issue-72911.rs:7:24 |
15 | | | |
16 | LL | pub fn gather_all() -> impl Iterator<Item = Lint> { | |
ee023bcb | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type |
3dfed10e XL |
18 | |
19 | error: aborting due to 3 previous errors | |
20 | ||
ee023bcb FG |
21 | Some errors have detailed explanations: E0282, E0433. |
22 | For more information about an error, try `rustc --explain E0282`. |