summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-30560.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/issue-30560.stderr')
-rw-r--r--tests/ui/imports/issue-30560.stderr21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-30560.stderr b/tests/ui/imports/issue-30560.stderr
new file mode 100644
index 000000000..69cfd4c06
--- /dev/null
+++ b/tests/ui/imports/issue-30560.stderr
@@ -0,0 +1,21 @@
+error: items in traits are not importable
+ --> $DIR/issue-30560.rs:7:5
+ |
+LL | use T::*;
+ | ^^^^
+
+error[E0432]: unresolved import `Alias`
+ --> $DIR/issue-30560.rs:2:5
+ |
+LL | use Alias::*;
+ | ^^^^^ `Alias` is a type alias, not a module
+
+error[E0432]: unresolved import `std::io::Result`
+ --> $DIR/issue-30560.rs:4:14
+ |
+LL | use std::io::Result::*;
+ | ^^^^^^ `Result` is a type alias, not a module
+
+error: aborting due to 3 previous errors
+
+For more information about this error, try `rustc --explain E0432`.