We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b5ba53 + 48f9f08 commit fca8e7dCopy full SHA for fca8e7d
compiler/rustc_middle/src/ty/util.rs
@@ -699,7 +699,6 @@ impl<'tcx> ty::TyS<'tcx> {
699
/// optimization as well as the rules around static values. Note
700
/// that the `Freeze` trait is not exposed to end users and is
701
/// effectively an implementation detail.
702
- // FIXME: use `TyCtxtAt` instead of separate `Span`.
703
pub fn is_freeze(&'tcx self, tcx_at: TyCtxtAt<'tcx>, param_env: ty::ParamEnv<'tcx>) -> bool {
704
self.is_trivially_freeze() || tcx_at.is_freeze_raw(param_env.and(self))
705
}
0 commit comments