mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Apply fallback to scalar type variables before final obligation resolution
This commit is contained in:
parent
b183612610
commit
d01630c8f3
3 changed files with 112 additions and 0 deletions
|
@ -512,6 +512,8 @@ impl<'a> InferenceContext<'a> {
|
|||
fn resolve_all(self) -> InferenceResult {
|
||||
let InferenceContext { mut table, mut result, .. } = self;
|
||||
|
||||
table.fallback_if_possible();
|
||||
|
||||
// FIXME resolve obligations as well (use Guidance if necessary)
|
||||
table.resolve_obligations_as_possible();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue