diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-03-30 00:32:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-30 00:32:24 +0200 |
| commit | fca8e7dd882852df87cc34bbb8e39e2eb3e5cb72 (patch) | |
| tree | acc2b7c33319399036e81397e8885c2bf97af39b /compiler/rustc_middle/src | |
| parent | 6b5ba539c51d80c3588d4d5215fd21725753ced1 (diff) | |
| parent | 48f9f0864b44752e322844f7ae17f8816223499f (diff) | |
| download | rust-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.rs | 1 |
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)) } |
