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
pubmod a {pubfnf(){super::b::f()}pubstructA;implA{pubfna(self){}}fng(x:A){
x.a()}}pubmod b {pubfnf(){super::a::f()}}structB;implB{fnb(self){}}fng(x:B,y: a::A){
x.b();
y.a()}
Open this code snippet in the playground
The naming scheme for
a::A::a
is different from the one forB::b
.a::A::a
extracts toa
whileB::b
extracts toimpl__B__b
.This is not a bug, but an inconsistency.
I think we should improve that:
A::a
should be namedimpl__A__a
.The text was updated successfully, but these errors were encountered: