diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-02-01 18:44:45 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-02-09 20:11:29 +0100 |
| commit | cf9c65bb585a9bf73d32055ceff4d5c809385879 (patch) | |
| tree | 08104273a5f7b9ce940119dc82bafbf492d34d7f /src | |
| parent | d416c68114e11309b4a1a41cd267afa31a5b02c1 (diff) | |
| download | rust-cf9c65bb585a9bf73d32055ceff4d5c809385879.tar.gz rust-cf9c65bb585a9bf73d32055ceff4d5c809385879.zip | |
Make FnAbiError Copy.
Diffstat (limited to 'src')
| -rw-r--r-- | src/common.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.rs b/src/common.rs index 79d85554514..3b6025c73d1 100644 --- a/src/common.rs +++ b/src/common.rs @@ -274,7 +274,7 @@ impl<'tcx> FnAbiOfHelpers<'tcx> for FunctionCx<'_, '_, 'tcx> { #[inline] fn handle_fn_abi_err( &self, - err: &'tcx FnAbiError<'tcx>, + err: FnAbiError<'tcx>, span: Span, fn_abi_request: FnAbiRequest<'tcx>, ) -> ! { @@ -396,7 +396,7 @@ impl<'tcx> FnAbiOfHelpers<'tcx> for RevealAllLayoutCx<'tcx> { #[inline] fn handle_fn_abi_err( &self, - err: &'tcx FnAbiError<'tcx>, + err: FnAbiError<'tcx>, span: Span, fn_abi_request: FnAbiRequest<'tcx>, ) -> ! { |
