ci: Fix dead code error on nightly

See https://github.com/rust-lang/rust/pull/118297
This commit is contained in:
daxpedda 2024-01-06 16:54:29 +01:00 committed by GitHub
parent d39528aa69
commit f99c810bec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View file

@ -1398,7 +1398,7 @@ unsafe fn register_window_class<T: 'static>(class_name: &[u16]) {
unsafe { RegisterClassExW(&class) };
}
struct ComInitialized(*mut ());
struct ComInitialized(#[allow(dead_code)] *mut ());
impl Drop for ComInitialized {
fn drop(&mut self) {
unsafe { CoUninitialize() };