-
Notifications
You must be signed in to change notification settings - Fork 381
feat: use visibility #5856
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
feat: use visibility #5856
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b869697
feat: use visibility
asterite bdc2008
Only consider first segment public for plain paths
asterite c880ae0
Fix lalrpop
asterite 6e3cb97
LSP completion: suggest pub use items
asterite fc7aca4
use pub for some functions
asterite d1d90e4
Let LSP auto-import work well with pub use
asterite c9e288c
Always warn on unused imports regardless of package type
asterite f32b08d
Clippy
asterite 18af4e4
Remove unused imports in the std, and add a couple of `pub use`
asterite 52111d7
Fix typo (unrelated to this PR, but why not)
asterite 531b7eb
Try to reduce the number of lines
asterite af11848
Correctly report private errors where they happen
asterite 2ae38cb
Warn if re-exporting item with less visibility
asterite 691d523
Revert "Correctly report private errors where they happen"
asterite 2820949
Error on correct file
asterite 79b507f
Add a few tests
asterite e922bd9
Fix test
asterite a264cac
Merge branch 'master' into ab/pub-use
asterite 1b4bb9e
Also warn on unused pub(crate) use
asterite 13f6b75
Update compiler/noirc_frontend/src/tests.rs
asterite 1a7f464
Merge branch 'master' into ab/pub-use
asterite 5be006b
Mark used imports as we solve a path
asterite e336f56
Track unused imports in NodeInterner
asterite 5abc88e
Introduce UsageTracker
asterite cf153e3
Add docs
asterite 5412ed9
Spellcheck
asterite 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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.