remove outdated fixme comment
The `TraitPredicate` no longer has constness as we have desugared it to work with the type system through const generics instead.
This commit is contained in:
parent
09bc67b915
commit
1061c8d5e5
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ impl<'tcx> assembly::GoalKind<'tcx> for TraitPredicate<'tcx> {
|
||||||
if trait_clause.def_id() == goal.predicate.def_id()
|
if trait_clause.def_id() == goal.predicate.def_id()
|
||||||
&& trait_clause.polarity() == goal.predicate.polarity
|
&& trait_clause.polarity() == goal.predicate.polarity
|
||||||
{
|
{
|
||||||
// FIXME: Constness
|
|
||||||
ecx.probe_misc_candidate("assumption").enter(|ecx| {
|
ecx.probe_misc_candidate("assumption").enter(|ecx| {
|
||||||
let assumption_trait_pred = ecx.instantiate_binder_with_infer(trait_clause);
|
let assumption_trait_pred = ecx.instantiate_binder_with_infer(trait_clause);
|
||||||
ecx.eq(
|
ecx.eq(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue