Use List::empty()
instead of mk_substs(&[])
.
This commit is contained in:
parent
5b0dbc47d7
commit
ea83d6f4d8
@ -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…
x
Reference in New Issue
Block a user