diff options
| author | Michael Goulet <michael@errs.io> | 2023-09-26 02:15:32 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-09-26 02:53:59 +0000 |
| commit | d6ce9ce115e8d0859e378b411966905c8b815845 (patch) | |
| tree | 35362a68ca4449d6c47afa05df2e33cd91a46970 /compiler/rustc_trait_selection/src | |
| parent | c614c17626a2dd02e88586a04bd0971d9ec2cae5 (diff) | |
| download | rust-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.rs | 2 |
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)), } } |
