diff --git a/crates/ruma-client/src/error.rs b/crates/ruma-client/src/error.rs index 2661b30d..c3c0376c 100644 --- a/crates/ruma-client/src/error.rs +++ b/crates/ruma-client/src/error.rs @@ -6,7 +6,7 @@ use ruma_common::api::error::{FromHttpResponseError, IntoHttpError}; /// An error that can occur during client operations. #[derive(Debug)] -#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] +#[non_exhaustive] pub enum Error { /// Queried endpoint requires authentication but was called on an anonymous client. AuthenticationRequired,