mirror of
https://github.com/rust-lang/book.git
synced 2026-09-15 03:08:53 -04:00
Add more places you can't use keywords
Also reorder by likelihood of encountering, ish.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
## Appendix A: Keywords
|
||||
|
||||
The following keywords are reserved by the Rust language and may not be used as
|
||||
names of functions, variables, macros, modules, crates, constants, static
|
||||
values, attributes, struct fields, or parameters.
|
||||
identifiers such as names of functions, variables, parameters, struct fields,
|
||||
modules, crates, constants, macros, static values, attributes, types, traits,
|
||||
or lifetimes.
|
||||
|
||||
* `abstract` - reserved for future use
|
||||
* `alignof` - reserved for future use
|
||||
|
||||
Reference in New Issue
Block a user