about summary refs log tree commit diff
path: root/tests/ui/impl-trait/issues/issue-72911.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/issues/issue-72911.stderr')
-rw-r--r--tests/ui/impl-trait/issues/issue-72911.stderr19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issues/issue-72911.stderr b/tests/ui/impl-trait/issues/issue-72911.stderr
new file mode 100644
index 00000000000..063b7f68dc0
--- /dev/null
+++ b/tests/ui/impl-trait/issues/issue-72911.stderr
@@ -0,0 +1,19 @@
+error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo`
+  --> $DIR/issue-72911.rs:11:33
+   |
+LL | fn gather_from_file(dir_entry: &foo::MissingItem) -> impl Iterator<Item = Lint> {
+   |                                 ^^^ use of unresolved module or unlinked crate `foo`
+   |
+   = help: you might be missing a crate named `foo`
+
+error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo`
+  --> $DIR/issue-72911.rs:16:41
+   |
+LL | fn lint_files() -> impl Iterator<Item = foo::MissingItem> {
+   |                                         ^^^ use of unresolved module or unlinked crate `foo`
+   |
+   = help: you might be missing a crate named `foo`
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0433`.