Fix transmute goal
This commit is contained in:
parent
fb6f4b4a6e
commit
6609501ca7
6 changed files with 59 additions and 39 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue