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 item_removed_from_public_api lint #525

Closed

Conversation

davidhewitt
Copy link

Accompaniment to obi1kenobi/trustfall-rustdoc-adapter#260

Relates #120

This new lint adds a rule to make marking items as #[doc(hidden)] a breaking change unless they are also deprecated at the same time.

For #120 the existing lints probably need to be changed to require that the items be public_api, which should be a mechanical change.

@obi1kenobi
Copy link
Owner

Someone ended up implementing this separately in #594, which we merged. We'll have to pair on another lint sometime soon instead :)

@obi1kenobi obi1kenobi closed this Feb 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants