Skip to content

Commit ac50f4b

Browse files
committed
update fixme
1 parent 1490c58 commit ac50f4b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

compiler/rustc_infer/src/infer/combine.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,9 @@ impl<'infcx, 'tcx> CombineFields<'infcx, 'tcx> {
512512
} else {
513513
match a_ty.kind() {
514514
&ty::Alias(ty::AliasKind::Projection, data) => {
515-
// FIXME: This does not handle subtyping correctly, we should switch to
516-
// alias-relate in the new solver and could instead create a new inference
517-
// variable for `a_ty`, emitting `Projection(a_ty, a_infer)` and
518-
// `a_infer <: b_ty`.
515+
// FIXME: This does not handle subtyping correctly, we could
516+
// instead create a new inference variable for `a_ty`, emitting
517+
// `Projection(a_ty, a_infer)` and `a_infer <: b_ty`.
519518
self.obligations.push(Obligation::new(
520519
self.tcx(),
521520
self.trace.cause.clone(),

0 commit comments

Comments
 (0)