We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a3e5a commit 339a11cCopy full SHA for 339a11c
crates/ra_hir_ty/src/traits.rs
@@ -87,10 +87,9 @@ impl TraitSolver {
87
/// This controls the maximum size of types Chalk considers. If we set this too
88
/// high, we can run into slow edge cases; if we set it too low, Chalk won't
89
/// find some solutions.
90
-const CHALK_SOLVER_MAX_SIZE: usize = 4;
+const CHALK_SOLVER_MAX_SIZE: usize = 10;
91
/// This controls how much 'time' we give the Chalk solver before giving up.
92
const CHALK_SOLVER_FUEL: i32 = 100;
93
-// TODO: tune both these values
94
95
#[derive(Debug, Copy, Clone)]
96
struct ChalkContext<'a, DB> {
0 commit comments