diff --git a/rust/ql/test/library-tests/type-inference/associated_types.rs b/rust/ql/test/library-tests/type-inference/associated_types.rs
index a678a531f8d4..f382f68ec26f 100644
--- a/rust/ql/test/library-tests/type-inference/associated_types.rs
+++ b/rust/ql/test/library-tests/type-inference/associated_types.rs
@@ -131,9 +131,9 @@ mod default_method_using_associated_type {
println!("{:?}", y);
let x5 = S2;
- println!("{:?}", x5.m1()); // $ target=m1 type=x5.m1():A.S2
+ println!("{:?}", x5.m1()); // $ target=m1 type=x5.m1()@Wrapper:S2
let x6 = S2;
- println!("{:?}", x6.m2()); // $ target=m2 type=x6.m2():A.S2
+ println!("{:?}", x6.m2()); // $ target=m2 type=x6.m2()@Wrapper:S2
}
}
@@ -400,10 +400,10 @@ mod generic_associated_type {
pub fn test() {
let s = S;
// Call to the method in `impl` block
- let _g1 = s.put(1i32); // $ target=S::put type=_g1:A.i32
+ let _g1 = s.put(1i32); // $ target=S::put type=_g1@Wrapper:i32
// Call to default implementation in `trait` block
- let _g2 = s.put_two(true, false); // $ target=MyTraitAssoc2::put_two MISSING: type=_g2:A.bool
+ let _g2 = s.put_two(true, false); // $ target=MyTraitAssoc2::put_two MISSING: type=_g2@Wrapper:bool
}
}
@@ -534,12 +534,12 @@ mod generic_associated_type_name_clash {
type Output = Result