events: Import items from original location, not private s in a parent mod
This commit is contained in:
parent
dfce734974
commit
2c8af1e17f
@ -175,11 +175,13 @@ mod tests {
|
||||
};
|
||||
|
||||
#[cfg(feature = "unstable-pre-spec")]
|
||||
use super::{AcceptEventContent, Relation};
|
||||
use super::AcceptEventContent;
|
||||
use super::{
|
||||
AcceptMethod, AcceptToDeviceEventContent, CustomContent, HashAlgorithm,
|
||||
KeyAgreementProtocol, MessageAuthenticationCode, SasV1Content, ShortAuthenticationString,
|
||||
};
|
||||
#[cfg(feature = "unstable-pre-spec")]
|
||||
use crate::key::verification::Relation;
|
||||
use crate::ToDeviceEvent;
|
||||
|
||||
#[test]
|
||||
|
@ -52,7 +52,8 @@ mod tests {
|
||||
use ruma_serde::Raw;
|
||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||
|
||||
use super::{DoneEventContent, Relation};
|
||||
use super::DoneEventContent;
|
||||
use crate::key::verification::Relation;
|
||||
|
||||
#[test]
|
||||
fn serialization() {
|
||||
|
@ -76,7 +76,8 @@ mod tests {
|
||||
use ruma_serde::Raw;
|
||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||
|
||||
use super::{ReadyEventContent, ReadyToDeviceEventContent, Relation, VerificationMethod};
|
||||
use super::{ReadyEventContent, ReadyToDeviceEventContent};
|
||||
use crate::key::verification::{Relation, VerificationMethod};
|
||||
|
||||
#[test]
|
||||
fn serialization() {
|
||||
|
@ -262,7 +262,9 @@ mod tests {
|
||||
StartToDeviceEventContent,
|
||||
};
|
||||
#[cfg(feature = "unstable-pre-spec")]
|
||||
use super::{ReciprocateV1Content, Relation, StartEventContent};
|
||||
use super::{ReciprocateV1Content, StartEventContent};
|
||||
#[cfg(feature = "unstable-pre-spec")]
|
||||
use crate::key::verification::Relation;
|
||||
use crate::ToDeviceEvent;
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user