about summary refs log tree commit diff
path: root/tests/ui/parser/removed-syntax/removed-syntax-mode.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-01-17 15:59:04 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-01-17 22:17:44 +0000
commit3f7c7842e6dd0dfc713c52fe7ffd24cd6a54fa87 (patch)
tree643dc3c82c550587a0c641f16751aead17dae071 /tests/ui/parser/removed-syntax/removed-syntax-mode.rs
parentb9ebeee4da258f1ed8bb93f0273180572a839058 (diff)
downloadrust-3f7c7842e6dd0dfc713c52fe7ffd24cd6a54fa87.tar.gz
rust-3f7c7842e6dd0dfc713c52fe7ffd24cd6a54fa87.zip
Move `removed-syntax` tests to their own directory
Diffstat (limited to 'tests/ui/parser/removed-syntax/removed-syntax-mode.rs')
-rw-r--r--tests/ui/parser/removed-syntax/removed-syntax-mode.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/parser/removed-syntax/removed-syntax-mode.rs b/tests/ui/parser/removed-syntax/removed-syntax-mode.rs
new file mode 100644
index 00000000000..a438db3b0c1
--- /dev/null
+++ b/tests/ui/parser/removed-syntax/removed-syntax-mode.rs
@@ -0,0 +1,4 @@
+fn f(+x: isize) {}
+//~^ ERROR expected parameter name, found `+`
+
+fn main() {}