about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-09-26 02:15:32 +0000
committerMichael Goulet <michael@errs.io>2023-09-26 02:53:59 +0000
commitd6ce9ce115e8d0859e378b411966905c8b815845 (patch)
tree35362a68ca4449d6c47afa05df2e33cd91a46970 /compiler/rustc_trait_selection/src
parentc614c17626a2dd02e88586a04bd0971d9ec2cae5 (diff)
downloadrust-d6ce9ce115e8d0859e378b411966905c8b815845.tar.gz
rust-d6ce9ce115e8d0859e378b411966905c8b815845.zip
Don't store lazyness in DefKind
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/solve/project_goals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/project_goals.rs b/compiler/rustc_trait_selection/src/solve/project_goals.rs
index c579da61e38..0f9d36342ad 100644
--- a/compiler/rustc_trait_selection/src/solve/project_goals.rs
+++ b/compiler/rustc_trait_selection/src/solve/project_goals.rs
@@ -59,7 +59,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
             }
             DefKind::AnonConst => self.normalize_anon_const(goal),
             DefKind::OpaqueTy => self.normalize_opaque_type(goal),
-            DefKind::TyAlias { .. } => self.normalize_weak_type(goal),
+            DefKind::TyAlias => self.normalize_weak_type(goal),
             kind => bug!("unknown DefKind {} in projection goal: {goal:#?}", kind.descr(def_id)),
         }
     }