about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-16 09:01:28 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-16 09:01:28 -0400
commitbba514b7b4f3062139d17ce1e4ab26b396c8ad49 (patch)
tree9ef5520b53828c4e6e63383023642ffc75ebaeaf /compiler/rustc_trait_selection
parentdf34db9b032b15efd86df3544cc75e6d55dc492e (diff)
downloadrust-bba514b7b4f3062139d17ce1e4ab26b396c8ad49.tar.gz
rust-bba514b7b4f3062139d17ce1e4ab26b396c8ad49.zip
Revert "Use Predicate ConstraintCategory when normalizing"
This reverts commit aae37f87632dd74856d55c0cd45d2c192379c990.
Diffstat (limited to 'compiler/rustc_trait_selection')
-rw-r--r--compiler/rustc_trait_selection/src/traits/query/normalize.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/query/normalize.rs b/compiler/rustc_trait_selection/src/traits/query/normalize.rs
index a3f8f4e2ed0..f65fc5bad0d 100644
--- a/compiler/rustc_trait_selection/src/traits/query/normalize.rs
+++ b/compiler/rustc_trait_selection/src/traits/query/normalize.rs
@@ -48,11 +48,10 @@ impl<'cx, 'tcx> AtExt<'tcx> for At<'cx, 'tcx> {
         T: TypeFoldable<'tcx>,
     {
         debug!(
-            "normalize::<{}>(value={:?}, param_env={:?}, cause={:?})",
+            "normalize::<{}>(value={:?}, param_env={:?})",
             std::any::type_name::<T>(),
             value,
             self.param_env,
-            self.cause,
         );
         if !needs_normalization(&value, self.param_env.reveal()) {
             return Ok(Normalized { value, obligations: vec![] });