1
Fork 0

rustc_target: add lifetime parameter to LayoutOf.

This commit is contained in:
Eduard-Mihai Burtescu 2021-08-25 14:51:22 +03:00
parent dfd6306d26
commit 83d986aa28
24 changed files with 88 additions and 102 deletions

View file

@ -113,7 +113,7 @@ struct UnwrapLayoutCx<'tcx> {
param_env: ParamEnv<'tcx>,
}
impl LayoutOf for UnwrapLayoutCx<'tcx> {
impl LayoutOf<'tcx> for UnwrapLayoutCx<'tcx> {
type Ty = Ty<'tcx>;
type TyAndLayout = TyAndLayout<'tcx>;