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 definition of Fieldable when on that symbol of line impl Fieldable for u32 { which should result in navigation to Fieldable symbol of trait Fieldable {.
The text was updated successfully, but these errors were encountered:
# Description
## Problem\*
Resolves
feat(lsp): goto definition of trait #3725
## Summary\*
Allows to go to Trait definition from Trait Implementation.
## Additional Context
## Documentation\*
Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.
# PR Checklist\*
- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
Considering snippet
User should be able to navigate to definition of
Fieldable
when on that symbol of lineimpl Fieldable for u32 {
which should result in navigation toFieldable
symbol oftrait Fieldable {
.The text was updated successfully, but these errors were encountered: