Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/rust-analyzer/Cargo.toml1
-rw-r--r--crates/rust-analyzer/tests/slow-tests/tidy.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml
index c37a0d1749..6998209a07 100644
--- a/crates/rust-analyzer/Cargo.toml
+++ b/crates/rust-analyzer/Cargo.toml
@@ -84,3 +84,4 @@ mbe = { path = "../mbe" }
[features]
jemalloc = ["jemallocator", "profile/jemalloc"]
force-always-assert = ["always-assert/force"]
+in-rust-tree = []
diff --git a/crates/rust-analyzer/tests/slow-tests/tidy.rs b/crates/rust-analyzer/tests/slow-tests/tidy.rs
index 1d666fdf0f..63337214cd 100644
--- a/crates/rust-analyzer/tests/slow-tests/tidy.rs
+++ b/crates/rust-analyzer/tests/slow-tests/tidy.rs
@@ -142,6 +142,7 @@ fn check_cargo_toml(path: &Path, text: String) {
}
}
+#[cfg(not(feature = "in-rust-tree"))]
#[test]
fn check_merge_commits() {
let sh = &Shell::new().unwrap();