Skip to content

Commit cf9c65b

Browse files
committed
Make FnAbiError Copy.
1 parent d416c68 commit cf9c65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl<'tcx> FnAbiOfHelpers<'tcx> for FunctionCx<'_, '_, 'tcx> {
274274
#[inline]
275275
fn handle_fn_abi_err(
276276
&self,
277-
err: &'tcx FnAbiError<'tcx>,
277+
err: FnAbiError<'tcx>,
278278
span: Span,
279279
fn_abi_request: FnAbiRequest<'tcx>,
280280
) -> ! {
@@ -396,7 +396,7 @@ impl<'tcx> FnAbiOfHelpers<'tcx> for RevealAllLayoutCx<'tcx> {
396396
#[inline]
397397
fn handle_fn_abi_err(
398398
&self,
399-
err: &'tcx FnAbiError<'tcx>,
399+
err: FnAbiError<'tcx>,
400400
span: Span,
401401
fn_abi_request: FnAbiRequest<'tcx>,
402402
) -> ! {

0 commit comments

Comments
 (0)