summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/unresolved-asterisk-imports.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rust-2018/unresolved-asterisk-imports.rs')
-rw-r--r--tests/ui/rust-2018/unresolved-asterisk-imports.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/rust-2018/unresolved-asterisk-imports.rs b/tests/ui/rust-2018/unresolved-asterisk-imports.rs
new file mode 100644
index 000000000..ad1064570
--- /dev/null
+++ b/tests/ui/rust-2018/unresolved-asterisk-imports.rs
@@ -0,0 +1,6 @@
+// edition:2018
+
+use not_existing_crate::*; //~ ERROR unresolved import `not_existing_crate
+use std as foo;
+
+fn main() {}