rust/tests/ui/impl-trait/issue-72911.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
999 B
Plaintext
Raw Normal View History

error[E0277]: `()` is not an iterator
--> $DIR/issue-72911.rs:16:20
|
LL | fn lint_files() -> impl Iterator<Item = foo::MissingItem> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` is not an iterator
|
= help: the trait `Iterator` is not implemented for `()`
2020-08-27 12:27:14 +00:00
error[E0433]: failed to resolve: use of undeclared crate or module `foo`
--> $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`
--> $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
error: aborting due to 3 previous errors
2020-07-26 09:54:54 +00:00
Some errors have detailed explanations: E0277, E0433.
For more information about an error, try `rustc --explain E0277`.