File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed 
compiler/rustc_const_eval/src/check_consts Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -741,9 +741,8 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {
741741                        self . check_op ( ops:: FnCallUnstable ( callee,  bad_gates) ) ; 
742742                    } 
743743                }  else  { 
744-                     // FIXME(ecstaticmorse); For compatibility, we consider `unstable` callees that 
745-                     // have no `rustc_const_stable` attributes to be const-unstable as well. This 
746-                     // should be fixed later. 
744+                     // For compatibility, we consider `unstable` callees that have no 
745+                     // `rustc_const_stable` attributes to be const-unstable as well. 
747746                    let  callee_is_unstable_unmarked = tcx. lookup_const_stability ( callee) . is_none ( ) 
748747                        && tcx. lookup_stability ( callee) . is_some_and ( |s| s. is_unstable ( ) ) ; 
749748                    if  callee_is_unstable_unmarked { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments