client-api: Make UiaaResponse enum exhaustive

This commit is contained in:
Jonas Platte 2022-11-25 19:49:16 +01:00
parent 74161014be
commit a6ba268796

View File

@ -865,7 +865,7 @@ impl AuthFlow {
/// Contains either a User-Interactive Authentication API response body or a Matrix error. /// Contains either a User-Interactive Authentication API response body or a Matrix error.
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[allow(clippy::exhaustive_enums)]
pub enum UiaaResponse { pub enum UiaaResponse {
/// User-Interactive Authentication API response /// User-Interactive Authentication API response
AuthResponse(UiaaInfo), AuthResponse(UiaaInfo),