-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Implement public/private dependency feature #57586
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8b6f3dd
Initial implementation work
Aaron1011 09ff0ba
Fix emitting lint
Aaron1011 afb1921
Fixup code
Aaron1011 23014b4
Properly register lint
Aaron1011 93d872d
Add UI test
Aaron1011 08c901f
Always treat 'std' and 'core' as public
Aaron1011 12f9b79
Improve UI tests
Aaron1011 d60214c
Clippy fixes, rename stuff to match RFC
Aaron1011 bc2221f
Add test for 'std' crate being public
Aaron1011 d8fc630
Track extern_public command-line argument
Aaron1011 dfd2669
Delete dead code
Aaron1011 3fa3647
Rename external_private_dependency to exported_private_dependencies
Aaron1011 173f5cf
Remove feature gate
Aaron1011 fe15f71
Move --extern-public behind -Z unstable-options
Aaron1011 45486cc
Tidy fixes
Aaron1011 b29a21f
Remove feature from test
Aaron1011 48ec29d
Replace --extern-public with --extern-private
Aaron1011 a05bfc6
Test allowing individual struct field
Aaron1011 24f3595
Remove unnecessary is_local() check
Aaron1011 bfcd14d
Add future compat lint declaration
Aaron1011 541d315
Update tests for future-compat warning removal
Aaron1011 369faae
Cleanup unecessary code
Aaron1011 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Move --extern-public behind -Z unstable-options
- Loading branch information
commit fe15f7177f59f4ac9e9eb22dff727cd58a097e11
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will report things used in
pub
, but unreachable items, e.g., but that's probably okay for a start.