mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
implement durability
This commit is contained in:
parent
9266c18ce6
commit
343463c824
10 changed files with 128 additions and 47 deletions
|
@ -1,3 +1,5 @@
|
|||
#![recursion_limit = "512"]
|
||||
|
||||
//! HIR (previously known as descriptors) provides a high-level object oriented
|
||||
//! access to Rust code.
|
||||
//!
|
||||
|
|
|
@ -38,7 +38,7 @@ impl TraitSolver {
|
|||
) -> Option<chalk_solve::Solution> {
|
||||
let context = ChalkContext { db, krate: self.krate };
|
||||
debug!("solve goal: {:?}", goal);
|
||||
let solution = self.inner.lock().solve_with_fuel(&context, goal, Some(1000));
|
||||
let solution = self.inner.lock().solve(&context, goal);
|
||||
debug!("solve({:?}) => {:?}", goal, solution);
|
||||
solution
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue