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
traitFieldable{fnto_field(self) -> Field;}implFieldableforu32{fnto_field(self) -> Field{let res = selfasField;
res *3}}fnmain(x:u32){assert(x.to_field() == 15);}
User should be able to navigate to implementations of to_field when on that symbol of line assert(x.to_field() == 15); which should result in navigation to fn to_field(self) -> Field { symbol of impl Fieldable for u32.
The text was updated successfully, but these errors were encountered:
Considering snippet below
User should be able to navigate to implementations of
to_field
when on that symbol of lineassert(x.to_field() == 15);
which should result in navigation tofn to_field(self) -> Field {
symbol ofimpl Fieldable for u32
.The text was updated successfully, but these errors were encountered: