mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Use known names instead of string literals
This commit is contained in:
parent
067d87e8a9
commit
f9c59d3752
3 changed files with 43 additions and 36 deletions
|
@ -334,6 +334,13 @@ pub mod known {
|
|||
gt,
|
||||
le,
|
||||
lt,
|
||||
// lang items
|
||||
not,
|
||||
neg,
|
||||
future_trait,
|
||||
owned_box,
|
||||
index,
|
||||
partial_ord
|
||||
);
|
||||
|
||||
// self/Self cannot be used as an identifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue