1
Fork 0

Fix transmute goal

This commit is contained in:
Michael Goulet 2024-06-17 19:27:23 -04:00
parent fb6f4b4a6e
commit 6609501ca7
6 changed files with 59 additions and 39 deletions

View file

@ -61,6 +61,10 @@ impl<'tcx> rustc_type_ir::inherent::GenericArgs<TyCtxt<'tcx>> for ty::GenericArg
self.region_at(i)
}
fn const_at(self, i: usize) -> ty::Const<'tcx> {
self.const_at(i)
}
fn identity_for_item(tcx: TyCtxt<'tcx>, def_id: DefId) -> ty::GenericArgsRef<'tcx> {
GenericArgs::identity_for_item(tcx, def_id)
}