Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-diagnostics/src/lib.rs')
-rw-r--r--crates/ide-diagnostics/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide-diagnostics/src/lib.rs b/crates/ide-diagnostics/src/lib.rs
index a419f04bfa..f176c30c4a 100644
--- a/crates/ide-diagnostics/src/lib.rs
+++ b/crates/ide-diagnostics/src/lib.rs
@@ -234,6 +234,7 @@ pub struct DiagnosticsConfig {
pub prefer_no_std: bool,
pub prefer_prelude: bool,
pub term_search_fuel: u64,
+ pub term_search_borrowck: bool,
}
impl DiagnosticsConfig {
@@ -260,6 +261,7 @@ impl DiagnosticsConfig {
prefer_no_std: false,
prefer_prelude: true,
term_search_fuel: 400,
+ term_search_borrowck: true,
}
}
}