ci: Fix dead code error on nightly
See https://github.com/rust-lang/rust/pull/118297
This commit is contained in:
parent
d39528aa69
commit
f99c810bec
5 changed files with 9 additions and 9 deletions
|
|
@ -87,7 +87,7 @@ unsafe impl<T> Sync for MainThreadSafe<T> {}
|
|||
|
||||
static DROP_HANDLER: OnceLock<AsyncSender<DropBox>> = OnceLock::new();
|
||||
|
||||
struct DropBox(Box<dyn Any>);
|
||||
struct DropBox(#[allow(dead_code)] Box<dyn Any>);
|
||||
|
||||
unsafe impl Send for DropBox {}
|
||||
unsafe impl Sync for DropBox {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue