summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issue-72911.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/impl-trait/issue-72911.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-72911.stderr b/tests/ui/impl-trait/issue-72911.stderr
new file mode 100644
index 000000000..0e86561aa
--- /dev/null
+++ b/tests/ui/impl-trait/issue-72911.stderr
@@ -0,0 +1,15 @@
+error[E0433]: failed to resolve: use of undeclared crate or module `foo`
+ --> $DIR/issue-72911.rs:11:33
+ |
+LL | fn gather_from_file(dir_entry: &foo::MissingItem) -> impl Iterator<Item = Lint> {
+ | ^^^ use of undeclared crate or module `foo`
+
+error[E0433]: failed to resolve: use of undeclared crate or module `foo`
+ --> $DIR/issue-72911.rs:16:41
+ |
+LL | fn lint_files() -> impl Iterator<Item = foo::MissingItem> {
+ | ^^^ use of undeclared crate or module `foo`
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0433`.