diff --git a/crates/matrix-sdk/src/authentication/device_code/login.rs b/crates/matrix-sdk/src/authentication/device_code/login.rs index 36025a8f1f3..7529b2ba464 100644 --- a/crates/matrix-sdk/src/authentication/device_code/login.rs +++ b/crates/matrix-sdk/src/authentication/device_code/login.rs @@ -19,6 +19,8 @@ use ruma::OwnedDeviceId; use tracing::trace; use super::{DeviceCodeFinishLoginError, DeviceCodeLoginError}; +#[cfg(doc)] +use crate::oidc::Oidc; use crate::{ authentication::common_oidc::{oidc_client::OidcClient, DeviceAuhorizationOidcError}, oidc::registrations::OidcRegistrations,