Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Better spans for generated defs #110

Open
nrc opened this issue Oct 30, 2017 · 0 comments
Open

Better spans for generated defs #110

nrc opened this issue Oct 30, 2017 · 0 comments

Comments

@nrc
Copy link
Member

nrc commented Oct 30, 2017

E.g., using derive or other proc macros.

Previous discussion: rust-lang/rls#156

E.g.,

#[derive(new)]
struct Foo { ... }

fn main() {
    Foo::new(...);
}

Goto def on new should jump to the derive(new) span, but currently we get nothing.

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

1 participant