Use known names instead of string literals

This commit is contained in:
Lukas Wirth 2021-12-09 18:13:15 +01:00
parent 067d87e8a9
commit f9c59d3752
3 changed files with 43 additions and 36 deletions

View file

@ -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