Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

tweak the compiler to assign new spans to use directives #7

Closed
ibabushkin opened this issue Jun 6, 2017 · 2 comments
Closed

tweak the compiler to assign new spans to use directives #7

ibabushkin opened this issue Jun 6, 2017 · 2 comments

Comments

@ibabushkin
Copy link
Contributor

This would help us in some cases to output more helpful spans. However, this depends on #5.

@eddyb
Copy link
Member

eddyb commented Jun 6, 2017

Note: the compiler has Spans for use items within the same crate, but the export map (which is what gets serialized, not the use items) loses the export chain completely.

You'd only be interested in the use that brought the item into the module, not the rest of the chain, which means you only need to add an extra Span to each re-export, I believe.

@ibabushkin
Copy link
Contributor Author

The underlying issue is solved now, so I'm closing this.

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

2 participants