Skip to content

Commit 69b8d0d

Browse files
committed
Remove FIXME comments that does not apply anymore
1 parent ff510b9 commit 69b8d0d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc_mir/interpret/eval_context.rs

-4
Original file line numberDiff line numberDiff line change
@@ -768,10 +768,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
768768
gid: GlobalId<'tcx>,
769769
) -> InterpResult<'tcx, MPlaceTy<'tcx, M::PointerTag>> {
770770
// FIXME(oli-obk): make this check an assertion that it's not a static here
771-
// FIXME(RalfJ, oli-obk): document that `Place::Static` can never be anything but a static
772-
// and `ConstValue::Unevaluated` can never be a static
773-
// FIXME(oli-obk, spastorino): the above FIXME is not true anymore, PlaceBase::Static does
774-
// not exist anymore (except for promoteds but it's going away soon).
775771
let param_env = if self.tcx.is_static(gid.instance.def_id()) {
776772
ty::ParamEnv::reveal_all()
777773
} else {

0 commit comments

Comments
 (0)