Merge #9817
9817: fix: Increase chalk overflow depth r=flodiebold a=lnicola This makes the experience better for people using `tonic`, see https://github.com/rust-analyzer/rust-analyzer/issues/7817. Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
commit
bc084a6ee5
@ -26,7 +26,7 @@ pub(crate) struct ChalkContext<'a> {
|
||||
|
||||
fn create_chalk_solver() -> chalk_recursive::RecursiveSolver<Interner> {
|
||||
let overflow_depth =
|
||||
var("CHALK_OVERFLOW_DEPTH").ok().and_then(|s| s.parse().ok()).unwrap_or(100);
|
||||
var("CHALK_OVERFLOW_DEPTH").ok().and_then(|s| s.parse().ok()).unwrap_or(300);
|
||||
let max_size = var("CHALK_SOLVER_MAX_SIZE").ok().and_then(|s| s.parse().ok()).unwrap_or(30);
|
||||
chalk_recursive::RecursiveSolver::new(overflow_depth, max_size, Some(Cache::new()))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user