Skip to content

Commit

Permalink
Remove redundant warning suppression (#1709)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Apr 21, 2022
1 parent 1ae0b4d commit 5ea7a54
Show file tree
Hide file tree
Showing 1,398 changed files with 14,024 additions and 15,401 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Update toolchain
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Run cargo check
run: cargo check -p windows
run: cargo check -p windows --features Foundation,Win32_Foundation,Win32_Graphics_Direct2D

cargo_clippy:
name: Check clippy
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/bindgen/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ pub fn gen_constant_type_value(value: &ConstantValue) -> TokenStream {
ConstantValue::F64(value) => quote! { f64 = #value },
ConstantValue::String(value) => {
let value = gen_string_literal(value);
quote! { &'static str = #value }
quote! { &str = #value }
}
_ => unimplemented!(),
}
Expand Down
1 change: 0 additions & 1 deletion crates/libs/bindgen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ pub fn gen_namespace(gen: &Gen) -> String {
let types = gen_non_sys_function_types(tree, gen);

let tokens = quote! {
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#(#namespaces)*
#functions
#types
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
#[cfg(feature = "deprecated")]
#[repr(transparent)]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/AI/MachineLearning/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "AI_MachineLearning_Preview")]
pub mod Preview;
pub type ILearningModelFeatureDescriptor = *mut ::core::ffi::c_void;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/AI/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "AI_MachineLearning")]
pub mod MachineLearning;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_Activation\"`*"]
#[repr(transparent)]
pub struct ActivationKind(pub i32);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AppExtension = *mut ::core::ffi::c_void;
pub type AppExtensionCatalog = *mut ::core::ffi::c_void;
pub type AppExtensionPackageInstalledEventArgs = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AppServiceClosedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
#[repr(transparent)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AddAppointmentOperation = *mut ::core::ffi::c_void;
pub type RemoveAppointmentOperation = *mut ::core::ffi::c_void;
pub type ReplaceAppointmentOperation = *mut ::core::ffi::c_void;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AppointmentCalendarCancelMeetingRequest = *mut ::core::ffi::c_void;
pub type AppointmentCalendarCancelMeetingRequestEventArgs = *mut ::core::ffi::c_void;
pub type AppointmentCalendarCreateOrUpdateAppointmentRequest = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Appointments_AppointmentsProvider")]
pub mod AppointmentsProvider;
#[cfg(feature = "ApplicationModel_Appointments_DataProvider")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type ActivitySensorTrigger = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_Background\"`*"]
#[repr(transparent)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"]
#[repr(transparent)]
pub struct PhoneCallBlockedReason(pub i32);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type PhoneCallOrigin = *mut ::core::ffi::c_void;
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Calls/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Calls_Background")]
pub mod Background;
#[cfg(feature = "ApplicationModel_Calls_Provider")]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Chat/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type ChatCapabilities = *mut ::core::ffi::c_void;
pub type ChatConversation = *mut ::core::ffi::c_void;
pub type ChatConversationReader = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type ContactDataProviderConnection = *mut ::core::ffi::c_void;
pub type ContactDataProviderTriggerDetails = *mut ::core::ffi::c_void;
pub type ContactListCreateOrUpdateContactRequest = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"]
#[repr(transparent)]
pub struct AddContactResult(pub i32);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Contacts_DataProvider")]
pub mod DataProvider;
#[cfg(feature = "ApplicationModel_Contacts_Provider")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type ActivationSignalDetectionConfiguration = *mut ::core::ffi::c_void;
pub type ActivationSignalDetectionConfigurationCreationResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Core/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AppListEntry = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_Core\"`*"]
#[repr(transparent)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type CoreDragDropManager = *mut ::core::ffi::c_void;
pub type CoreDragInfo = *mut ::core::ffi::c_void;
pub type CoreDragOperation = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop_Core")]
pub mod Core;
#[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop\"`*"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type QuickLink = *mut ::core::ffi::c_void;
pub type ShareOperation = *mut ::core::ffi::c_void;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_DataTransfer_DragDrop")]
pub mod DragDrop;
#[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type EmailDataProviderConnection = *mut ::core::ffi::c_void;
pub type EmailDataProviderTriggerDetails = *mut ::core::ffi::c_void;
pub type EmailMailboxCreateFolderRequest = *mut ::core::ffi::c_void;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Email/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Email_DataProvider")]
pub mod DataProvider;
pub type EmailAttachment = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"]
#[repr(transparent)]
pub struct ExtendedExecutionForegroundReason(pub i32);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_ExtendedExecution_Foreground")]
pub mod Foreground;
#[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type HolographicKeyboard = *mut ::core::ffi::c_void;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type LockApplicationHost = *mut ::core::ffi::c_void;
pub type LockScreenBadge = *mut ::core::ffi::c_void;
pub type LockScreenInfo = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type PaymentAppCanMakePaymentTriggerDetails = *mut ::core::ffi::c_void;
pub type PaymentAppManager = *mut ::core::ffi::c_void;
pub type PaymentTransaction = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Payments_Provider")]
pub mod Provider;
pub type PaymentAddress = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type HolographicKeyboardPlacementOverridePreview = *mut ::core::ffi::c_void;
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type InkWorkspaceHostedAppManager = *mut ::core::ffi::c_void;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type NotePlacementChangedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type NoteVisibilityChangedPreviewEventArgs = *mut ::core::ffi::c_void;
pub type NotesWindowManagerPreview = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Preview_Holographic")]
pub mod Holographic;
#[cfg(feature = "ApplicationModel_Preview_InkWorkspace")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type NamedResource = *mut ::core::ffi::c_void;
pub type ResourceCandidate = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type IndexedResourceCandidate = *mut ::core::ffi::c_void;
pub type IndexedResourceQualifier = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Resources_Core")]
pub mod Core;
#[cfg(feature = "ApplicationModel_Resources_Management")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type RequestingFocusOnKeyboardInputEventArgs = *mut ::core::ffi::c_void;
pub type SearchSuggestion = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Search/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Search_Core")]
pub mod Core;
pub type ISearchPaneQueryChangedEventArgs = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type SocialDashboardItemUpdater = *mut ::core::ffi::c_void;
pub type SocialFeedUpdater = *mut ::core::ffi::c_void;
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_SocialInfo_Provider")]
pub mod Provider;
pub type SocialFeedChildItem = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"]
#[repr(transparent)]
pub struct LicenseRefreshOption(pub i32);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AppInstallItem = *mut ::core::ffi::c_void;
pub type AppInstallManager = *mut ::core::ffi::c_void;
pub type AppInstallManagerItemEventArgs = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Store_Preview_InstallControl")]
pub mod InstallControl;
#[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Store/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Store_LicenseManagement")]
pub mod LicenseManagement;
#[cfg(feature = "ApplicationModel_Store_Preview")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_UserActivities_Core")]
pub mod Core;
pub type IUserActivityContentInfo = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type IUserDataAccountProviderOperation = *mut ::core::ffi::c_void;
pub type UserDataAccountPartnerAccountInfo = *mut ::core::ffi::c_void;
pub type UserDataAccountProviderAddAccountOperation = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"]
#[repr(transparent)]
pub struct DeviceAccountAuthenticationType(pub i32);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_UserDataAccounts_Provider")]
pub mod Provider;
#[cfg(feature = "ApplicationModel_UserDataAccounts_SystemAccess")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type UserDataTaskDataProviderConnection = *mut ::core::ffi::c_void;
pub type UserDataTaskDataProviderTriggerDetails = *mut ::core::ffi::c_void;
pub type UserDataTaskListCompleteTaskRequest = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_UserDataTasks_DataProvider")]
pub mod DataProvider;
pub type UserDataTask = *mut ::core::ffi::c_void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type VoiceCommand = *mut ::core::ffi::c_void;
pub type VoiceCommandCompletedEventArgs = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"ApplicationModel_Wallet_System\"`*"]
#[repr(transparent)]
pub struct WalletItemAppAssociation(pub i32);
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/Wallet/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Wallet_System")]
pub mod System;
#[doc = "*Required features: `\"ApplicationModel_Wallet\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/ApplicationModel/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "ApplicationModel_Activation")]
pub mod Activation;
#[cfg(feature = "ApplicationModel_AppExtensions")]
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/sys/src/Windows/Data/Html/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]

1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/Json/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type IJsonValue = *mut ::core::ffi::c_void;
pub type JsonArray = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Data_Json\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/Pdf/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type PdfDocument = *mut ::core::ffi::c_void;
pub type PdfPage = *mut ::core::ffi::c_void;
pub type PdfPageDimensions = *mut ::core::ffi::c_void;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/Text/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[doc = "*Required features: `\"Data_Text\"`*"]
#[repr(transparent)]
pub struct AlternateNormalizationFormat(pub i32);
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/Xml/Dom/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type DtdEntity = *mut ::core::ffi::c_void;
pub type DtdNotation = *mut ::core::ffi::c_void;
pub type IXmlCharacterData = *mut ::core::ffi::c_void;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/Xml/Xsl/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type XsltProcessor = *mut ::core::ffi::c_void;
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/Xml/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Data_Xml_Dom")]
pub mod Dom;
#[cfg(feature = "Data_Xml_Xsl")]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Data/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Data_Html")]
pub mod Html;
#[cfg(feature = "Data_Json")]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Devices/Adc/Provider/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type IAdcControllerProvider = *mut ::core::ffi::c_void;
pub type IAdcProvider = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Devices_Adc_Provider\"`*"]
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Devices/Adc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "Devices_Adc_Provider")]
pub mod Provider;
pub type AdcChannel = *mut ::core::ffi::c_void;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Devices/AllJoyn/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AllJoynAboutData = *mut ::core::ffi::c_void;
pub type AllJoynAboutDataView = *mut ::core::ffi::c_void;
pub type AllJoynAcceptSessionJoinerEventArgs = *mut ::core::ffi::c_void;
Expand Down
1 change: 0 additions & 1 deletion crates/libs/sys/src/Windows/Devices/Background/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type DeviceServicingDetails = *mut ::core::ffi::c_void;
pub type DeviceUseDetails = *mut ::core::ffi::c_void;
Loading

0 comments on commit 5ea7a54

Please sign in to comment.