@@ -485,7 +485,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
485485 // does this code ever run?
486486 match self . infcx . equality_predicate ( obligation. cause . span , p) {
487487 Ok ( InferOk { obligations, .. } ) => {
488- // FIXME(#???? ) propagate obligations
488+ // FIXME(#32730 ) propagate obligations
489489 assert ! ( obligations. is_empty( ) ) ;
490490 EvaluatedToOk
491491 } ,
@@ -1190,7 +1190,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
11901190 trait_bound. clone ( ) ,
11911191 ty:: Binder ( skol_trait_ref. clone ( ) ) ) {
11921192 Ok ( InferOk { obligations, .. } ) => {
1193- // FIXME(#???? ) propagate obligations
1193+ // FIXME(#32730 ) propagate obligations
11941194 assert ! ( obligations. is_empty( ) ) ;
11951195 }
11961196 Err ( _) => { return false ; }
@@ -2505,7 +2505,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
25052505 origin,
25062506 expected_trait_ref. clone ( ) ,
25072507 obligation_trait_ref. clone ( ) )
2508- // FIXME(#???? ) propagate obligations
2508+ // FIXME(#32730 ) propagate obligations
25092509 . map ( |InferOk { obligations, .. } | assert ! ( obligations. is_empty( ) ) )
25102510 . map_err ( |e| OutputTypeParameterMismatch ( expected_trait_ref, obligation_trait_ref, e) )
25112511 }
@@ -2541,7 +2541,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
25412541 let InferOk { obligations, .. } =
25422542 self . infcx . sub_types ( false , origin, new_trait, target)
25432543 . map_err ( |_| Unimplemented ) ?;
2544- // FIXME(#???? ) propagate obligations
2544+ // FIXME(#32730 ) propagate obligations
25452545 assert ! ( obligations. is_empty( ) ) ;
25462546
25472547 // Register one obligation for 'a: 'b.
@@ -2608,7 +2608,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
26082608 let InferOk { obligations, .. } =
26092609 self . infcx . sub_types ( false , origin, a, b)
26102610 . map_err ( |_| Unimplemented ) ?;
2611- // FIXME(#???? ) propagate obligations
2611+ // FIXME(#32730 ) propagate obligations
26122612 assert ! ( obligations. is_empty( ) ) ;
26132613 }
26142614
@@ -2668,7 +2668,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
26682668 let InferOk { obligations, .. } =
26692669 self . infcx . sub_types ( false , origin, new_struct, target)
26702670 . map_err ( |_| Unimplemented ) ?;
2671- // FIXME(#???? ) propagate obligations
2671+ // FIXME(#32730 ) propagate obligations
26722672 assert ! ( obligations. is_empty( ) ) ;
26732673
26742674 // Construct the nested Field<T>: Unsize<Field<U>> predicate.
@@ -2764,7 +2764,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
27642764 debug ! ( "match_impl: failed eq_trait_refs due to `{}`" , e) ;
27652765 ( )
27662766 } ) ?;
2767- // FIXME(#???? ) propagate obligations
2767+ // FIXME(#32730 ) propagate obligations
27682768 assert ! ( obligations. is_empty( ) ) ;
27692769
27702770 if let Err ( e) = self . infcx . leak_check ( & skol_map, snapshot) {
@@ -2832,7 +2832,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
28322832 origin,
28332833 poly_trait_ref,
28342834 obligation. predicate . to_poly_trait_ref ( ) )
2835- // FIXME(#???? ) propagate obligations
2835+ // FIXME(#32730 ) propagate obligations
28362836 . map ( |InferOk { obligations, .. } | assert ! ( obligations. is_empty( ) ) )
28372837 . map_err ( |_| ( ) )
28382838 }
0 commit comments