Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

jump-to-definition doesn't appear to work in assoc type bounds #778

Closed
nikomatsakis opened this issue Mar 20, 2018 · 2 comments
Closed

jump-to-definition doesn't appear to work in assoc type bounds #778

nikomatsakis opened this issue Mar 20, 2018 · 2 comments

Comments

@nikomatsakis
Copy link

nikomatsakis commented Mar 20, 2018

In Chalk, I have some code like this

trait Foo {
    type Bar: Bar;
    //        ^^^ cursor here
}

trait Bar: Copy + Clone {
}

when I put the cursor on Bar and hit jump-to-def, it doesn't go anywhere. =) This seems to be true in the simplest of projects.

nikomatsakis added a commit to nikomatsakis/rls-778 that referenced this issue Mar 20, 2018
@nikomatsakis
Copy link
Author

The problem can be observed in this repository:

https://github.com/nikomatsakis/rls-778

Also:

> rustc -vV
rustc 1.26.0-nightly (2789b067d 2018-03-06)
binary: rustc
commit-hash: 2789b067da2ac921b86199bde21dd231ace1da39
commit-date: 2018-03-06
host: x86_64-apple-darwin
release: 1.26.0-nightly
LLVM version: 6.0

@nrc
Copy link
Member

nrc commented Jun 21, 2018

Tracked in rust-dev-tools/rls-analysis#140

@nrc nrc closed this as completed Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants