Skip to content

Commit

Permalink
Use Solver from chalk_solve
Browse files Browse the repository at this point in the history
  • Loading branch information
vandenheuvel committed Aug 13, 2020
1 parent 39829d9 commit b919403
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/librustc_traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ rustc_hir = { path = "../librustc_hir" }
rustc_index = { path = "../librustc_index" }
rustc_ast = { path = "../librustc_ast" }
rustc_span = { path = "../librustc_span" }
chalk-integration = "0.19.0"
chalk-ir = "0.19.0"
chalk-solve = "0.19.0"
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_traits/chalk/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ crate fn evaluate_goal<'tcx>(
universes: max_universe + 1,
};

let solver_choice = chalk_integration::SolverChoice::SLG {
let solver_choice = chalk_solve::solve::SLGSolver {
max_size: 32,
expected_answers: None,
};
Expand Down

0 comments on commit b919403

Please sign in to comment.