File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_trait_selection/src/solve/normalizes_to Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -840,8 +840,8 @@ impl<'tcx> assembly::GoalKind<'tcx> for NormalizesTo<'tcx> {
840
840
| ty:: Tuple ( _)
841
841
| ty:: Error ( _) => self_ty. async_destructor_ty ( ecx. tcx ( ) , goal. param_env ) ,
842
842
843
- // We do not call `Ty::discriminant_ty ` on alias, param, or placeholder
844
- // types, which return `<self_ty as DiscriminantKind >::Discriminant `
843
+ // We do not call `Ty::async_destructor_ty ` on alias, param, or placeholder
844
+ // types, which return `<self_ty as AsyncDestruct >::AsyncDestructor `
845
845
// (or ICE in the case of placeholders). Projecting a type to itself
846
846
// is never really productive.
847
847
ty:: Alias ( _, _) | ty:: Param ( _) | ty:: Placeholder ( ..) => {
You can’t perform that action at this time.
0 commit comments