summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-31212.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/issue-31212.stderr')
-rw-r--r--tests/ui/imports/issue-31212.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-31212.stderr b/tests/ui/imports/issue-31212.stderr
new file mode 100644
index 000000000..0bb56b361
--- /dev/null
+++ b/tests/ui/imports/issue-31212.stderr
@@ -0,0 +1,16 @@
+error[E0432]: unresolved import `self::*`
+ --> $DIR/issue-31212.rs:5:13
+ |
+LL | pub use self::*;
+ | ^^^^^^^ cannot glob-import a module into itself
+
+error[E0425]: cannot find function `f` in module `foo`
+ --> $DIR/issue-31212.rs:9:10
+ |
+LL | foo::f();
+ | ^ not found in `foo`
+
+error: aborting due to 2 previous errors
+
+Some errors have detailed explanations: E0425, E0432.
+For more information about an error, try `rustc --explain E0425`.