Use List::empty()
instead of mk_substs(&[])
.
This commit is contained in:
parent
c09f5b6a6b
commit
08f28f9447
5 changed files with 8 additions and 8 deletions
|
@ -383,7 +383,7 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
|
|||
tcx,
|
||||
ty::ParamEnv::reveal_all(),
|
||||
def_id,
|
||||
tcx.mk_substs(&[]),
|
||||
ty::List::empty(),
|
||||
)
|
||||
.unwrap().unwrap(),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue