aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/rust/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tests/indent/rust/mod.rs')
-rw-r--r--lua/tests/indent/rust/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/tests/indent/rust/mod.rs b/lua/tests/indent/rust/mod.rs
new file mode 100644
index 000000000..cc7f2c8e6
--- /dev/null
+++ b/lua/tests/indent/rust/mod.rs
@@ -0,0 +1,8 @@
+mod foo {
+ const X: i32 = 1;
+
+ mod bar {
+
+ const Y: i32 = 1;
+ }
+}