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
pubtraitFoo{typeA;}pubtraitBar:Foo{fnfoo<A,B=<SelfasFoo>::A>(&self,a:A,b:B){}}structBaz;implFooforBaz{typeA = u32;}implBarforBaz{}fnmain(){let baz = Baz;Bar::foo::<u32>(&baz,0,0);// This works
baz.foo::<u32>(0);// error: incorrect number of type parameters given for this method}