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

spans in macros have regressed #1359

Closed
Xanewok opened this issue Feb 25, 2019 · 2 comments
Closed

spans in macros have regressed #1359

Xanewok opened this issue Feb 25, 2019 · 2 comments

Comments

@Xanewok
Copy link
Member

Xanewok commented Feb 25, 2019

Originally created by @nrc (rust-dev-tools/rls-analysis#75):

e.g.,

    let world = "world";
    println!("Hello, {}!", world);

The ref for world on the second line used to point to the correct def on the first line, but now points at itself.

@Xanewok
Copy link
Member Author

Xanewok commented Feb 25, 2019

Originally replied by @nrc (rust-dev-tools/rls-analysis#75 (comment)):

cc rust-dev-tools/rls-analysis#74 (which was magically fixed, but perhaps just because we're doing less, so might appear when this is fixed).

@Xanewok
Copy link
Member Author

Xanewok commented Mar 3, 2019

Fixed now, so closing.

@Xanewok Xanewok closed this as completed Mar 3, 2019
@Xanewok Xanewok added the bug label Mar 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant