-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around bug in rust-analyzer to make auto-imports work nicely (#376)
Resolves #351 ## Synopsis Rust-analyzer doesn't ignore `#[doc(hidden)]` exports when they use a glob pattern, only when they explicitely re-export. ## Solution This adds more level of indirection and one more glob pattern so that we put `#[doc(hidden)]` on explicit re-exports. This definitely starts to feel like we're doing hack upon hack here. But ah well, this seems to work. And working well with the most popular LSP for Rust seems worth a bit of a hack.
- Loading branch information
Showing
1 changed file
with
209 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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