summaryrefslogtreecommitdiffstats
path: root/tests/ui/codemap_tests/tab.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/codemap_tests/tab.rs')
-rw-r--r--tests/ui/codemap_tests/tab.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/codemap_tests/tab.rs b/tests/ui/codemap_tests/tab.rs
new file mode 100644
index 000000000..64569f2e7
--- /dev/null
+++ b/tests/ui/codemap_tests/tab.rs
@@ -0,0 +1,9 @@
+// ignore-tidy-tab
+
+fn main() {
+ bar; //~ ERROR cannot find value `bar`
+}
+
+fn foo() {
+ "bar boo" //~ ERROR mismatched types
+}