Skip to content

Commit

Permalink
Use List::empty() instead of mk_substs(&[]).
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Feb 23, 2023
1 parent 5b0dbc4 commit ea83d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
),
Expand Down

0 comments on commit ea83d6f

Please sign in to comment.