Diffstat (limited to 'src/walk/walkers/core/struct.rs')
-rw-r--r--src/walk/walkers/core/struct.rs17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/walk/walkers/core/struct.rs b/src/walk/walkers/core/struct.rs
index cbcb5c0..e78094e 100644
--- a/src/walk/walkers/core/struct.rs
+++ b/src/walk/walkers/core/struct.rs
@@ -667,7 +667,7 @@ mod test {
use crate::{
any::{
static_wrapper::{DynOwnedStatic, OwnedStatic},
- LtTypeId,
+ TypeNameId,
},
effect::{BlockOn as _, Blocking, Spin},
mock::{
@@ -732,10 +732,9 @@ mod test {
builder
.expect_traits_mut()
.once()
- .with(eq(LtTypeId::of::<
+ .with(eq(TypeNameId::of::<
DynTag<'static, TagConst<{ TAG_STRUCT.to_int() }>, Blocking>,
- >()
- .as_type_id()))
+ >()))
.in_sequence(&mut seq)
.return_var(Some(Box::new({
let mut mock = MockTagVisitor::<TagConst<{ TAG_STRUCT.to_int() }>, Blocking>::new();
@@ -756,10 +755,9 @@ mod test {
builder
.expect_traits_mut()
.once()
- .with(eq(LtTypeId::of::<
+ .with(eq(TypeNameId::of::<
DynTag<'static, TagConst<{ TAG_TYPE_NAME.to_int() }>, Blocking>,
- >()
- .as_type_id()))
+ >()))
.in_sequence(&mut seq)
.return_var(Some(Box::new({
let mut mock =
@@ -771,10 +769,9 @@ mod test {
builder
.expect_traits_mut()
.once()
- .with(eq(LtTypeId::of::<
+ .with(eq(TypeNameId::of::<
DynValue<'static, DynOwnedStatic<&'static str>, Blocking>,
- >()
- .as_type_id()))
+ >()))
.return_var(Some(Box::new({
let mut mock =
MockValueVisitor::<DynOwnedStatic<&'static str>, Blocking>::new();