about summary refs log tree commit diff
path: root/tests/run-make/json-error-no-offset/submodule
diff options
context:
space:
mode:
authorOneirical <manchot@videotron.ca>2024-07-11 15:52:04 -0400
committerOneirical <manchot@videotron.ca>2024-07-26 14:17:11 -0400
commit61a6afe60ced9a6120403158dd8caf40f8a583a4 (patch)
treefbd8895c0791bdbb5d9dbd66a84e44b558638b09 /tests/run-make/json-error-no-offset/submodule
parent83234a0f21a46536cedfd46dc8d0f2d447565541 (diff)
downloadrust-61a6afe60ced9a6120403158dd8caf40f8a583a4.tar.gz
rust-61a6afe60ced9a6120403158dd8caf40f8a583a4.zip
Rewrite and rename issue-35164 to rmake
Diffstat (limited to 'tests/run-make/json-error-no-offset/submodule')
-rw-r--r--tests/run-make/json-error-no-offset/submodule/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-make/json-error-no-offset/submodule/mod.rs b/tests/run-make/json-error-no-offset/submodule/mod.rs
new file mode 100644
index 00000000000..a9045b242fb
--- /dev/null
+++ b/tests/run-make/json-error-no-offset/submodule/mod.rs
@@ -0,0 +1,3 @@
+pub fn foo() {
+    let _MyFoo = 2;
+}