Skip to content

Commit 5ea7a54

Browse files
authored
Remove redundant warning suppression (#1709)
1 parent 1ae0b4d commit 5ea7a54

File tree

1,398 files changed

+14024
-15401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,398 files changed

+14024
-15401
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Update toolchain
7171
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
7272
- name: Run cargo check
73-
run: cargo check -p windows
73+
run: cargo check -p windows --features Foundation,Win32_Foundation,Win32_Graphics_Direct2D
7474

7575
cargo_clippy:
7676
name: Check clippy

crates/libs/bindgen/src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ pub fn gen_constant_type_value(value: &ConstantValue) -> TokenStream {
246246
ConstantValue::F64(value) => quote! { f64 = #value },
247247
ConstantValue::String(value) => {
248248
let value = gen_string_literal(value);
249-
quote! { &'static str = #value }
249+
quote! { &str = #value }
250250
}
251251
_ => unimplemented!(),
252252
}

crates/libs/bindgen/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ pub fn gen_namespace(gen: &Gen) -> String {
6868
let types = gen_non_sys_function_types(tree, gen);
6969

7070
let tokens = quote! {
71-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
7271
#(#namespaces)*
7372
#functions
7473
#types

crates/libs/sys/src/Windows/AI/MachineLearning/Preview/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
32
#[cfg(feature = "deprecated")]
43
#[repr(transparent)]

crates/libs/sys/src/Windows/AI/MachineLearning/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "AI_MachineLearning_Preview")]
32
pub mod Preview;
43
pub type ILearningModelFeatureDescriptor = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/AI/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "AI_MachineLearning")]
32
pub mod MachineLearning;

crates/libs/sys/src/Windows/ApplicationModel/Activation/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
32
#[repr(transparent)]
43
pub struct ActivationKind(pub i32);

crates/libs/sys/src/Windows/ApplicationModel/AppExtensions/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AppExtension = *mut ::core::ffi::c_void;
32
pub type AppExtensionCatalog = *mut ::core::ffi::c_void;
43
pub type AppExtensionPackageInstalledEventArgs = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/AppService/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AppServiceClosedEventArgs = *mut ::core::ffi::c_void;
32
#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
43
#[repr(transparent)]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AddAppointmentOperation = *mut ::core::ffi::c_void;
32
pub type RemoveAppointmentOperation = *mut ::core::ffi::c_void;
43
pub type ReplaceAppointmentOperation = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AppointmentCalendarCancelMeetingRequest = *mut ::core::ffi::c_void;
32
pub type AppointmentCalendarCancelMeetingRequestEventArgs = *mut ::core::ffi::c_void;
43
pub type AppointmentCalendarCreateOrUpdateAppointmentRequest = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Appointments/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
32
pub mod AppointmentsProvider;
43
#[cfg(feature = "ApplicationModel_Appointments_DataProvider")]

crates/libs/sys/src/Windows/ApplicationModel/Background/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type ActivitySensorTrigger = *mut ::core::ffi::c_void;
32
#[doc = "*Required features: `\"ApplicationModel_Background\"`*"]
43
#[repr(transparent)]

crates/libs/sys/src/Windows/ApplicationModel/Calls/Background/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"]
32
#[repr(transparent)]
43
pub struct PhoneCallBlockedReason(pub i32);
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type PhoneCallOrigin = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Calls/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Calls_Background")]
32
pub mod Background;
43
#[cfg(feature = "ApplicationModel_Calls_Provider")]

crates/libs/sys/src/Windows/ApplicationModel/Chat/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type ChatCapabilities = *mut ::core::ffi::c_void;
32
pub type ChatConversation = *mut ::core::ffi::c_void;
43
pub type ChatConversationReader = *mut ::core::ffi::c_void;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
1+

crates/libs/sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type ContactDataProviderConnection = *mut ::core::ffi::c_void;
32
pub type ContactDataProviderTriggerDetails = *mut ::core::ffi::c_void;
43
pub type ContactListCreateOrUpdateContactRequest = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"]
32
#[repr(transparent)]
43
pub struct AddContactResult(pub i32);

crates/libs/sys/src/Windows/ApplicationModel/Contacts/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Contacts_DataProvider")]
32
pub mod DataProvider;
43
#[cfg(feature = "ApplicationModel_Contacts_Provider")]

crates/libs/sys/src/Windows/ApplicationModel/ConversationalAgent/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type ActivationSignalDetectionConfiguration = *mut ::core::ffi::c_void;
32
pub type ActivationSignalDetectionConfigurationCreationResult = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/Core/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AppListEntry = *mut ::core::ffi::c_void;
32
#[doc = "*Required features: `\"ApplicationModel_Core\"`*"]
43
#[repr(transparent)]

crates/libs/sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type CoreDragDropManager = *mut ::core::ffi::c_void;
32
pub type CoreDragInfo = *mut ::core::ffi::c_void;
43
pub type CoreDragOperation = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop_Core")]
32
pub mod Core;
43
#[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop\"`*"]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type QuickLink = *mut ::core::ffi::c_void;
32
pub type ShareOperation = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/DataTransfer/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop")]
32
pub mod DragDrop;
43
#[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]

crates/libs/sys/src/Windows/ApplicationModel/Email/DataProvider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type EmailDataProviderConnection = *mut ::core::ffi::c_void;
32
pub type EmailDataProviderTriggerDetails = *mut ::core::ffi::c_void;
43
pub type EmailMailboxCreateFolderRequest = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Email/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Email_DataProvider")]
32
pub mod DataProvider;
43
pub type EmailAttachment = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"]
32
#[repr(transparent)]
43
pub struct ExtendedExecutionForegroundReason(pub i32);

crates/libs/sys/src/Windows/ApplicationModel/ExtendedExecution/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_ExtendedExecution_Foreground")]
32
pub mod Foreground;
43
#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"]
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type HolographicKeyboard = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/LockScreen/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type LockApplicationHost = *mut ::core::ffi::c_void;
32
pub type LockScreenBadge = *mut ::core::ffi::c_void;
43
pub type LockScreenInfo = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Payments/Provider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type PaymentAppCanMakePaymentTriggerDetails = *mut ::core::ffi::c_void;
32
pub type PaymentAppManager = *mut ::core::ffi::c_void;
43
pub type PaymentTransaction = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Payments/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Payments_Provider")]
32
pub mod Provider;
43
pub type PaymentAddress = *mut ::core::ffi::c_void;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type HolographicKeyboardPlacementOverridePreview = *mut ::core::ffi::c_void;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type InkWorkspaceHostedAppManager = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Preview/Notes/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type NotePlacementChangedPreviewEventArgs = *mut ::core::ffi::c_void;
32
pub type NoteVisibilityChangedPreviewEventArgs = *mut ::core::ffi::c_void;
43
pub type NotesWindowManagerPreview = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Preview/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Preview_Holographic")]
32
pub mod Holographic;
43
#[cfg(feature = "ApplicationModel_Preview_InkWorkspace")]

crates/libs/sys/src/Windows/ApplicationModel/Resources/Core/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type NamedResource = *mut ::core::ffi::c_void;
32
pub type ResourceCandidate = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/Resources/Management/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type IndexedResourceCandidate = *mut ::core::ffi::c_void;
32
pub type IndexedResourceQualifier = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/Resources/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Resources_Core")]
32
pub mod Core;
43
#[cfg(feature = "ApplicationModel_Resources_Management")]

crates/libs/sys/src/Windows/ApplicationModel/Search/Core/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type RequestingFocusOnKeyboardInputEventArgs = *mut ::core::ffi::c_void;
32
pub type SearchSuggestion = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/Search/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Search_Core")]
32
pub mod Core;
43
pub type ISearchPaneQueryChangedEventArgs = *mut ::core::ffi::c_void;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type SocialDashboardItemUpdater = *mut ::core::ffi::c_void;
32
pub type SocialFeedUpdater = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/SocialInfo/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_SocialInfo_Provider")]
32
pub mod Provider;
43
pub type SocialFeedChildItem = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"]
32
#[repr(transparent)]
43
pub struct LicenseRefreshOption(pub i32);

crates/libs/sys/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AppInstallItem = *mut ::core::ffi::c_void;
32
pub type AppInstallManager = *mut ::core::ffi::c_void;
43
pub type AppInstallManagerItemEventArgs = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/Store/Preview/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Store_Preview_InstallControl")]
32
pub mod InstallControl;
43
#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/Store/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Store_LicenseManagement")]
32
pub mod LicenseManagement;
43
#[cfg(feature = "ApplicationModel_Store_Preview")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
1+

crates/libs/sys/src/Windows/ApplicationModel/UserActivities/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_UserActivities_Core")]
32
pub mod Core;
43
pub type IUserActivityContentInfo = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type IUserDataAccountProviderOperation = *mut ::core::ffi::c_void;
32
pub type UserDataAccountPartnerAccountInfo = *mut ::core::ffi::c_void;
43
pub type UserDataAccountProviderAddAccountOperation = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"]
32
#[repr(transparent)]
43
pub struct DeviceAccountAuthenticationType(pub i32);

crates/libs/sys/src/Windows/ApplicationModel/UserDataAccounts/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
32
pub mod Provider;
43
#[cfg(feature = "ApplicationModel_UserDataAccounts_SystemAccess")]

crates/libs/sys/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type UserDataTaskDataProviderConnection = *mut ::core::ffi::c_void;
32
pub type UserDataTaskDataProviderTriggerDetails = *mut ::core::ffi::c_void;
43
pub type UserDataTaskListCompleteTaskRequest = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/UserDataTasks/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_UserDataTasks_DataProvider")]
32
pub mod DataProvider;
43
pub type UserDataTask = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type VoiceCommand = *mut ::core::ffi::c_void;
32
pub type VoiceCommandCompletedEventArgs = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/Wallet/System/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"ApplicationModel_Wallet_System\"`*"]
32
#[repr(transparent)]
43
pub struct WalletItemAppAssociation(pub i32);

crates/libs/sys/src/Windows/ApplicationModel/Wallet/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Wallet_System")]
32
pub mod System;
43
#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]

crates/libs/sys/src/Windows/ApplicationModel/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "ApplicationModel_Activation")]
32
pub mod Activation;
43
#[cfg(feature = "ApplicationModel_AppExtensions")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
1+

crates/libs/sys/src/Windows/Data/Json/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type IJsonValue = *mut ::core::ffi::c_void;
32
pub type JsonArray = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"Data_Json\"`*"]

crates/libs/sys/src/Windows/Data/Pdf/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type PdfDocument = *mut ::core::ffi::c_void;
32
pub type PdfPage = *mut ::core::ffi::c_void;
43
pub type PdfPageDimensions = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/Data/Text/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[doc = "*Required features: `\"Data_Text\"`*"]
32
#[repr(transparent)]
43
pub struct AlternateNormalizationFormat(pub i32);

crates/libs/sys/src/Windows/Data/Xml/Dom/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type DtdEntity = *mut ::core::ffi::c_void;
32
pub type DtdNotation = *mut ::core::ffi::c_void;
43
pub type IXmlCharacterData = *mut ::core::ffi::c_void;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type XsltProcessor = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/Data/Xml/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "Data_Xml_Dom")]
32
pub mod Dom;
43
#[cfg(feature = "Data_Xml_Xsl")]

crates/libs/sys/src/Windows/Data/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "Data_Html")]
32
pub mod Html;
43
#[cfg(feature = "Data_Json")]

crates/libs/sys/src/Windows/Devices/Adc/Provider/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type IAdcControllerProvider = *mut ::core::ffi::c_void;
32
pub type IAdcProvider = *mut ::core::ffi::c_void;
43
#[doc = "*Required features: `\"Devices_Adc_Provider\"`*"]

crates/libs/sys/src/Windows/Devices/Adc/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
#[cfg(feature = "Devices_Adc_Provider")]
32
pub mod Provider;
43
pub type AdcChannel = *mut ::core::ffi::c_void;

crates/libs/sys/src/Windows/Devices/AllJoyn/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type AllJoynAboutData = *mut ::core::ffi::c_void;
32
pub type AllJoynAboutDataView = *mut ::core::ffi::c_void;
43
pub type AllJoynAcceptSessionJoinerEventArgs = *mut ::core::ffi::c_void;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
21
pub type DeviceServicingDetails = *mut ::core::ffi::c_void;
32
pub type DeviceUseDetails = *mut ::core::ffi::c_void;

0 commit comments

Comments
 (0)