Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use hir::Path instead of ast::Path in HIR Attribute's. #56480
The goal here was to avoid using
This seemed a trivial change at first, but now I'm not so sure, I've had to make a lot of code work on either AST or HIR
Maybe we should just have
Click to expand the log.
referenced this pull request
Dec 4, 2018
That's what I immediately thought - even if AST paths are removed, there still can be pieces of AST in tokens.
Is it possible to
Regarding attributes in HIR, I the long term goal is to have some semantic representation for attributes in HIR (
In that sense this PR is closer to the long term goal than #56492.