Skip to content

Commit 0b44108

Browse files
committed
w
1 parent 9b611a3 commit 0b44108

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_infer/src/infer/opaque_types

1 file changed

+1
-2
lines changed

compiler/rustc_infer/src/infer/opaque_types/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@ impl<'tcx> InferCtxt<'tcx> {
277277
.eq(DefineOpaqueTypes::Yes, hidden_ty, actual)?
278278
.obligations
279279
.into_iter()
280-
// FIXME: Shuttling between obligations and goals is awkward.
281-
.map(Goal::from),
280+
.map(|obligation| obligation.as_goal()),
282281
);
283282
}
284283
mode @ (ty::TypingMode::PostBorrowckAnalysis { .. } | ty::TypingMode::PostAnalysis) => {

0 commit comments

Comments
 (0)