Use List::empty() instead of mk_substs(&[]).

This commit is contained in:
Nicholas Nethercote 2023-02-20 14:52:23 +11:00
parent 5b0dbc47d7
commit ea83d6f4d8

View File

@ -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(),
),