Skip to content

Commit 1b2337c

Browse files
committed
Make FnAbiError Copy.
1 parent 96340e5 commit 1b2337c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ impl<'tcx> FnAbiOfHelpers<'tcx> for Builder<'_, '_, 'tcx> {
354354
#[inline]
355355
fn handle_fn_abi_err(
356356
&self,
357-
err: &'tcx FnAbiError<'tcx>,
357+
err: FnAbiError<'tcx>,
358358
span: Span,
359359
fn_abi_request: FnAbiRequest<'tcx>,
360360
) -> ! {

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ impl<'gcc, 'tcx> FnAbiOfHelpers<'tcx> for CodegenCx<'gcc, 'tcx> {
397397
#[inline]
398398
fn handle_fn_abi_err(
399399
&self,
400-
err: &'tcx FnAbiError<'tcx>,
400+
err: FnAbiError<'tcx>,
401401
span: Span,
402402
fn_abi_request: FnAbiRequest<'tcx>,
403403
) -> ! {

0 commit comments

Comments
 (0)