@@ -461,7 +461,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
461461 }
462462 ( fn_sig, Some ( def_id) )
463463 }
464- // FIXME(effects ): these arms should error because we can't enforce them
464+ // FIXME(const_trait_impl ): these arms should error because we can't enforce them
465465 ty:: FnPtr ( sig_tys, hdr) => ( sig_tys. with ( hdr) , None ) ,
466466 _ => {
467467 for arg in arg_exprs {
@@ -843,7 +843,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
843843 callee_did : DefId ,
844844 callee_args : GenericArgsRef < ' tcx > ,
845845 ) {
846- // FIXME(effects ): We should be enforcing these effects unconditionally.
846+ // FIXME(const_trait_impl ): We should be enforcing these effects unconditionally.
847847 // This can be done as soon as we convert the standard library back to
848848 // using const traits, since if we were to enforce these conditions now,
849849 // we'd fail on basically every builtin trait call (i.e. `1 + 2`).
@@ -864,11 +864,11 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
864864 None => return ,
865865 } ;
866866
867- // FIXME(effects ): Should this be `is_const_fn_raw`? It depends on if we move
867+ // FIXME(const_trait_impl ): Should this be `is_const_fn_raw`? It depends on if we move
868868 // const stability checking here too, I guess.
869869 if self . tcx . is_conditionally_const ( callee_did) {
870870 let q = self . tcx . const_conditions ( callee_did) ;
871- // FIXME(effects ): Use this span with a better cause code.
871+ // FIXME(const_trait_impl ): Use this span with a better cause code.
872872 for ( cond, _) in q. instantiate ( self . tcx , callee_args) {
873873 self . register_predicate ( Obligation :: new (
874874 self . tcx ,
@@ -878,7 +878,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
878878 ) ) ;
879879 }
880880 } else {
881- // FIXME(effects ): This should eventually be caught here.
881+ // FIXME(const_trait_impl ): This should eventually be caught here.
882882 // For now, though, we defer some const checking to MIR.
883883 }
884884 }
0 commit comments