rustc_target: add lifetime parameter to LayoutOf
.
This commit is contained in:
parent
dfd6306d26
commit
83d986aa28
24 changed files with 88 additions and 102 deletions
|
@ -835,7 +835,7 @@ impl ty::layout::HasTyCtxt<'tcx> for CodegenCx<'ll, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
impl LayoutOf for CodegenCx<'ll, 'tcx> {
|
||||
impl LayoutOf<'tcx> for CodegenCx<'ll, 'tcx> {
|
||||
type Ty = Ty<'tcx>;
|
||||
type TyAndLayout = TyAndLayout<'tcx>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue