client: Remove unnecessary cfg_attr
This commit is contained in:
parent
07c6074b8a
commit
f3dad1ab1f
@ -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<E, F> {
|
||||
/// Queried endpoint requires authentication but was called on an anonymous client.
|
||||
AuthenticationRequired,
|
||||
|
Loading…
x
Reference in New Issue
Block a user