summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/unclosed-delimiter-in-dep.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/unclosed-delimiter-in-dep.rs')
-rw-r--r--tests/ui/parser/unclosed-delimiter-in-dep.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/parser/unclosed-delimiter-in-dep.rs b/tests/ui/parser/unclosed-delimiter-in-dep.rs
new file mode 100644
index 000000000..6db1b66e9
--- /dev/null
+++ b/tests/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
+}