We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2434969 commit 14b8556Copy full SHA for 14b8556
compiler/rustc_const_eval/src/check_consts/check.rs
@@ -741,9 +741,8 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {
741
self.check_op(ops::FnCallUnstable(callee, bad_gates));
742
}
743
} 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.
+ // For compatibility, we consider `unstable` callees that have no
+ // `rustc_const_stable` attributes to be const-unstable as well.
747
let callee_is_unstable_unmarked = tcx.lookup_const_stability(callee).is_none()
748
&& tcx.lookup_stability(callee).is_some_and(|s| s.is_unstable());
749
if callee_is_unstable_unmarked {
0 commit comments