forked from intellij-rust/intellij-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TY: Improve autocompletion for primitive types
In Rust primitive types are only allowed a single impl block that must be annotated with lang attribute We do not enforce this yet an accept user defined impl blocks. See rust-lang/rust#23104 and the error code E0390. The primitive type bool does not have an impl block / lang attribute. TODO: * Clean up a lot * Combine the 2 find methods * Missing primitive types: slice, const_ptr, mut_ptr * Autocompletions on u8, i8, ... do not work as they are implemented by a macro * What fingerprint/string should we use for primitive types (to avoid overlap with user defined types) * Incomplete tests
- Loading branch information
Showing
4 changed files
with
88 additions
and
5 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
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
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
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