diff --git a/Cargo.toml b/Cargo.toml index 9e717e76..c780ad34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,6 @@ wildcard_dependencies = "warn" missing_errors_doc = "allow" missing_panics_doc = "allow" -mixed_attributes_style = "allow" multiple_bound_locations = "allow" option_as_ref_cloned = "allow" thread_local_initializer_can_be_made_const = "allow" diff --git a/src/api/client_server/session.rs b/src/api/client_server/session.rs index 6d740acc..b11d6f31 100644 --- a/src/api/client_server/session.rs +++ b/src/api/client_server/session.rs @@ -51,12 +51,14 @@ pub(crate) async fn get_login_types_route( /// /// Note: You can use [`GET /_matrix/client/r0/login`](get_login_types_route) to /// see supported login types. -#[allow(clippy::too_many_lines)] +#[allow( + // To allow deprecated login methods + deprecated, + clippy::too_many_lines, +)] pub(crate) async fn login_route( body: Ar, ) -> Result> { - // To allow deprecated login methods - #![allow(deprecated)] // Validate login method // TODO: Other login methods let user_id = match &body.login_info {