about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-30 00:32:24 +0200
committerGitHub <noreply@github.com>2021-03-30 00:32:24 +0200
commitfca8e7dd882852df87cc34bbb8e39e2eb3e5cb72 (patch)
treeacc2b7c33319399036e81397e8885c2bf97af39b /compiler/rustc_middle/src
parent6b5ba539c51d80c3588d4d5215fd21725753ced1 (diff)
parent48f9f0864b44752e322844f7ae17f8816223499f (diff)
downloadrust-fca8e7dd882852df87cc34bbb8e39e2eb3e5cb72.tar.gz
rust-fca8e7dd882852df87cc34bbb8e39e2eb3e5cb72.zip
Rollup merge of #83643 - JohnTitor:is-freeze-no-longer-uses-span, r=RalfJung
Remove a FIXME resolved by #73578

r? ``@RalfJung``
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/ty/util.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/util.rs b/compiler/rustc_middle/src/ty/util.rs
index 9926cca2f51..9c7de250c29 100644
--- a/compiler/rustc_middle/src/ty/util.rs
+++ b/compiler/rustc_middle/src/ty/util.rs
@@ -699,7 +699,6 @@ impl<'tcx> ty::TyS<'tcx> {
     /// optimization as well as the rules around static values. Note
     /// that the `Freeze` trait is not exposed to end users and is
     /// effectively an implementation detail.
-    // FIXME: use `TyCtxtAt` instead of separate `Span`.
     pub fn is_freeze(&'tcx self, tcx_at: TyCtxtAt<'tcx>, param_env: ty::ParamEnv<'tcx>) -> bool {
         self.is_trivially_freeze() || tcx_at.is_freeze_raw(param_env.and(self))
     }