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

Make Importable a subtype of Item #35

Open
obi1kenobi opened this issue Jan 21, 2023 · 0 comments
Open

Make Importable a subtype of Item #35

obi1kenobi opened this issue Jan 21, 2023 · 0 comments

Comments

@obi1kenobi
Copy link
Owner

Only items can be imported, so importables are always items.

This will give us a common root type for all importable items (trait, fn, struct, enum, union, etc.), which will make it easier to implement better lints around removal of items or items changing from one type to another (e.g. struct to trait).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant