diff options
author | pommicket <pommicket@gmail.com> | 2023-08-07 07:19:56 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-07 07:19:56 -0400 |
commit | b146279b48f6a4f4bea8946cb3f0f1f5cc5a9985 (patch) | |
tree | 70069f2f622f3b6190fa1effcfb9ce9e14d8f94b /test/lsp | |
parent | bdbce6fe3c647616d22867bbc82e011c91231dd3 (diff) |
handle more complicated renames
Diffstat (limited to 'test/lsp')
-rw-r--r-- | test/lsp/rust/src/foo.rs | 3 | ||||
-rw-r--r-- | test/lsp/rust/src/main.rs | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/lsp/rust/src/foo.rs b/test/lsp/rust/src/foo.rs new file mode 100644 index 0000000..08cbd24 --- /dev/null +++ b/test/lsp/rust/src/foo.rs @@ -0,0 +1,3 @@ +pub fn a() -> i32 { + 8 +} diff --git a/test/lsp/rust/src/main.rs b/test/lsp/rust/src/main.rs index e7a11a9..e71b6f7 100644 --- a/test/lsp/rust/src/main.rs +++ b/test/lsp/rust/src/main.rs @@ -1,3 +1,5 @@ +mod foo; + fn main() { - println!("Hello, world!"); + println!("Hello, world! {}", foo::a()); } |