diff options
| author | lcnr <rust@lcnr.de> | 2022-06-27 17:18:49 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-07-04 14:35:19 +0200 |
| commit | 24799e37201b60c3012c48bbb789e607b6b6bf71 (patch) | |
| tree | 19fda1485bfd2b03fc04cce5decd0859d43b2624 /compiler/rustc_ty_utils | |
| parent | a3beeaa84da241f35888338ded6659938206ff13 (diff) | |
| download | rust-24799e37201b60c3012c48bbb789e607b6b6bf71.tar.gz rust-24799e37201b60c3012c48bbb789e607b6b6bf71.zip | |
remove an unused `DefId`
Diffstat (limited to 'compiler/rustc_ty_utils')
| -rw-r--r-- | compiler/rustc_ty_utils/src/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/ty.rs b/compiler/rustc_ty_utils/src/ty.rs index 38ae6a25b18..1d345caf699 100644 --- a/compiler/rustc_ty_utils/src/ty.rs +++ b/compiler/rustc_ty_utils/src/ty.rs @@ -211,7 +211,7 @@ fn param_env(tcx: TyCtxt<'_>, def_id: DefId) -> ty::ParamEnv<'_> { tcx.hir().maybe_body_owned_by(id).map_or(id, |body| body.hir_id) }); let cause = traits::ObligationCause::misc(tcx.def_span(def_id), body_id); - traits::normalize_param_env_or_error(tcx, def_id, unnormalized_env, cause) + traits::normalize_param_env_or_error(tcx, unnormalized_env, cause) } /// Elaborate the environment. |
