summaryrefslogtreecommitdiff
path: root/test/test-files
diff options
context:
space:
mode:
authorFelix Maurer <felix@felix-maurer.de>2022-03-23 02:56:29 +0100
committerGitHub <noreply@github.com>2022-03-23 10:56:29 +0900
commit80dcd648d389965603246c2c5a4554e3e4aa184c (patch)
treec6a226966fd879df41360632103f366fef2d444e /test/test-files
parent5c7019f394588bdc29d7573f5063198c2803dfe4 (diff)
downloadale-80dcd648d389965603246c2c5a4554e3e4aa184c.zip
rust-analyzer for non-Cargo projects (#4118)
* rust-analyzer in non-cargo projects rust-analyzer can also be used in non-cargo projects. This requires a rust-project.json file in the project root [1]. Make the rust-analyzer linter search for a rust-project.json file if no Cargo.toml file could be found. [1]: https://rust-analyzer.github.io/manual.html#non-cargo-based-projects * Document rust-analyzer without cargo * Test rust-analyzer with non-cargo projects Change the other rust tests to match the new directory structure of the test files.
Diffstat (limited to 'test/test-files')
-rw-r--r--test/test-files/rust/cargo/Cargo.toml (renamed from test/test-files/rust/Cargo.toml)0
-rw-r--r--test/test-files/rust/cargo/testfile.rs (renamed from test/test-files/rust/testfile.rs)0
-rw-r--r--test/test-files/rust/rust-project/rust-project.json0
-rw-r--r--test/test-files/rust/rust-project/testfile.rs0
4 files changed, 0 insertions, 0 deletions
diff --git a/test/test-files/rust/Cargo.toml b/test/test-files/rust/cargo/Cargo.toml
index e69de29b..e69de29b 100644
--- a/test/test-files/rust/Cargo.toml
+++ b/test/test-files/rust/cargo/Cargo.toml
diff --git a/test/test-files/rust/testfile.rs b/test/test-files/rust/cargo/testfile.rs
index e69de29b..e69de29b 100644
--- a/test/test-files/rust/testfile.rs
+++ b/test/test-files/rust/cargo/testfile.rs
diff --git a/test/test-files/rust/rust-project/rust-project.json b/test/test-files/rust/rust-project/rust-project.json
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/test-files/rust/rust-project/rust-project.json
diff --git a/test/test-files/rust/rust-project/testfile.rs b/test/test-files/rust/rust-project/testfile.rs
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/test-files/rust/rust-project/testfile.rs