Use List::empty()
instead of mk_substs(&[])
.
This commit is contained in:
parent
5b0dbc47d7
commit
ea83d6f4d8
@ -383,7 +383,7 @@ fn eh_personality(&self) -> RValue<'gcc> {
|
||||
tcx,
|
||||
ty::ParamEnv::reveal_all(),
|
||||
def_id,
|
||||
tcx.mk_substs(&[]),
|
||||
ty::List::empty(),
|
||||
)
|
||||
.unwrap().unwrap(),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user