You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -289,6 +297,13 @@ mod method_non_parametric_trait_impl {
289
297
}
290
298
}
291
299
300
+
implMyTrait2<MyThing<S1>>forMyThing<S2>{
301
+
// MyThing<S2>::m3
302
+
fnm3(self) -> MyThing<S1>{
303
+
MyThing{a:S1}
304
+
}
305
+
}
306
+
292
307
// Implementation where the type parameter `TD` only occurs in the
293
308
// implemented trait and not the implementing type.
294
309
impl<TD>MyTrait<TD>forMyThing<S3>
@@ -453,6 +468,8 @@ mod method_non_parametric_trait_impl {
453
468
let thing = MyThing{a:S1};
454
469
let i = thing.convert_to();// $ type=i:S1 target=T::convert_to
455
470
let j = convert_to(thing);// $ target=convert_to $ MISSING: type=j:S1 -- the blanket implementation `impl<T: MyTrait<S1>> ConvertTo<S1> for T` is currently not included in the constraint analysis
471
+
472
+
let x = call_trait_m1_trait2_m3(MyThing{a:S2});// $ target=call_trait_m1_trait2_m3 $ MISSING: type=x:S1
0 commit comments