diff options
author | linbingquan <695601626@qq.com> | 2022-12-18 06:20:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 23:20:15 +0100 |
commit | f46df3e35940fc78163945eed33e58fafed0b06b (patch) | |
tree | c22233bf2019a254045ad0af533225d3f02a402f /ext/ffi/turbocall.rs | |
parent | f2c9cc500c84a3c6051823cd3ae33d6b4c1f6266 (diff) |
chore: update to Rust 1.66.0 (#17078)
Diffstat (limited to 'ext/ffi/turbocall.rs')
-rw-r--r-- | ext/ffi/turbocall.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ffi/turbocall.rs b/ext/ffi/turbocall.rs index 79ec814b4..bbe29238a 100644 --- a/ext/ffi/turbocall.rs +++ b/ext/ffi/turbocall.rs @@ -910,6 +910,7 @@ impl Aarch64Apple { aarch64!(self.assmblr; str x0, [x19]); } + #[allow(clippy::unnecessary_cast)] fn save_frame_record(&mut self) { debug_assert!( self.allocated_stack >= 16, @@ -922,6 +923,7 @@ impl Aarch64Apple { ) } + #[allow(clippy::unnecessary_cast)] fn recover_frame_record(&mut self) { // The stack cannot have been deallocated before the frame record is restored debug_assert!( |