Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stable item representation #49

Closed
13 tasks done
xFrednet opened this issue Nov 7, 2022 · 2 comments · Fixed by #54
Closed
13 tasks done

Add stable item representation #49

xFrednet opened this issue Nov 7, 2022 · 2 comments · Fixed by #54
Assignees
Labels
A-api Area: Stable API C-tracking-issue Category: Tracking issue
Milestone

Comments

@xFrednet
Copy link
Member

xFrednet commented Nov 7, 2022

Create an initial version of the stable item representations.

Open Items:

  • Module
  • ExternCrate
  • UseDeclaration
  • Function
  • TypeAlias
  • Struct
  • Enumeration
  • Union
  • ConstantItem
  • StaticItem
  • Trait
  • Implementation
  • ExternBlock

See: https://doc.rust-lang.org/reference/items.html


This issue only focuses on the API representation. The driver backend will be added in a separate PR. This reduces the PR size and makes sure that I focus on the representation and not the way rustc stores the data :)

@xFrednet xFrednet added the A-api Area: Stable API label Nov 7, 2022
@xFrednet xFrednet self-assigned this Nov 7, 2022
@xFrednet
Copy link
Member Author

xFrednet commented Nov 7, 2022

It might be cool to rework the UseDecl to not desugar into several use declarations like rustc does. This also depends on the reference.

@xFrednet
Copy link
Member Author

xFrednet commented Nov 7, 2022

I'll tick off the items I've already implemented in: https://github.com/xFrednet/rust-linting/tree/049-items-like-planets-in-space Wish me luck!

@xFrednet xFrednet added the C-tracking-issue Category: Tracking issue label Nov 7, 2022
@xFrednet xFrednet added this to the v0.0.1 milestone Nov 10, 2022
@bors bors bot closed this as completed in 3a7cd8f Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-api Area: Stable API C-tracking-issue Category: Tracking issue
Projects
None yet
1 participant