Skip to content

Commit fca8e7d

Browse files
authored
Rollup merge of rust-lang#83643 - JohnTitor:is-freeze-no-longer-uses-span, r=RalfJung
Remove a FIXME resolved by rust-lang#73578 r? ``@RalfJung``
2 parents 6b5ba53 + 48f9f08 commit fca8e7d

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+0
-1
lines changed

compiler/rustc_middle/src/ty/util.rs

-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,6 @@ impl<'tcx> ty::TyS<'tcx> {
699699
/// optimization as well as the rules around static values. Note
700700
/// that the `Freeze` trait is not exposed to end users and is
701701
/// effectively an implementation detail.
702-
// FIXME: use `TyCtxtAt` instead of separate `Span`.
703702
pub fn is_freeze(&'tcx self, tcx_at: TyCtxtAt<'tcx>, param_env: ty::ParamEnv<'tcx>) -> bool {
704703
self.is_trivially_freeze() || tcx_at.is_freeze_raw(param_env.and(self))
705704
}

0 commit comments

Comments
 (0)