summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/unclosed-delimiter-in-dep.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/parser/unclosed-delimiter-in-dep.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/parser/unclosed-delimiter-in-dep.rs b/src/test/ui/parser/unclosed-delimiter-in-dep.rs
new file mode 100644
index 000000000..6db1b66e9
--- /dev/null
+++ b/src/test/ui/parser/unclosed-delimiter-in-dep.rs
@@ -0,0 +1,6 @@
+mod unclosed_delim_mod;
+
+fn main() {
+ let _: usize = unclosed_delim_mod::new();
+ //~^ ERROR mismatched types
+}