Make FnAbiError Copy.
This commit is contained in:
parent
96340e5668
commit
1b2337c19d
2 changed files with 2 additions and 2 deletions
|
|
@ -354,7 +354,7 @@ impl<'tcx> FnAbiOfHelpers<'tcx> for Builder<'_, '_, 'tcx> {
|
|||
#[inline]
|
||||
fn handle_fn_abi_err(
|
||||
&self,
|
||||
err: &'tcx FnAbiError<'tcx>,
|
||||
err: FnAbiError<'tcx>,
|
||||
span: Span,
|
||||
fn_abi_request: FnAbiRequest<'tcx>,
|
||||
) -> ! {
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ impl<'gcc, 'tcx> FnAbiOfHelpers<'tcx> for CodegenCx<'gcc, 'tcx> {
|
|||
#[inline]
|
||||
fn handle_fn_abi_err(
|
||||
&self,
|
||||
err: &'tcx FnAbiError<'tcx>,
|
||||
err: FnAbiError<'tcx>,
|
||||
span: Span,
|
||||
fn_abi_request: FnAbiRequest<'tcx>,
|
||||
) -> ! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue