-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Labels
C-chalk-solveIssues related to the chalk-solve crateIssues related to the chalk-solve crategood first issueA good issue to start working on Chalk withA good issue to start working on Chalk with
Description
The following test fails with both solvers (returning ambiguous).
program {
#[auto]
trait Send { }
closure with_ty<T>(self,) { T }
}
goal {
forall<T> { if (T: Send) { with_ty<T>: Send } }
} yields {
"Unique"
}
The empty substs here seem suspicious.
chalk/chalk-solve/src/clauses.rs
Line 167 in e0c94db
.closure_upvars(*closure_id, &Substitution::empty(interner)); |
Metadata
Metadata
Assignees
Labels
C-chalk-solveIssues related to the chalk-solve crateIssues related to the chalk-solve crategood first issueA good issue to start working on Chalk withA good issue to start working on Chalk with