about summary refs log tree commit diff
path: root/t/t4018/rust-fn
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/rust-fn')
-rw-r--r--t/t4018/rust-fn5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4018/rust-fn b/t/t4018/rust-fn
new file mode 100644
index 000000000000..cbe02155f113
--- /dev/null
+++ b/t/t4018/rust-fn
@@ -0,0 +1,5 @@
+pub(self) fn RIGHT<T>(x: &[T]) where T: Debug {
+    let _ = x;
+    // a comment
+    let a = ChangeMe;
+}