Add more places you can't use keywords

Also reorder by likelihood of encountering, ish.
This commit is contained in:
Carol (Nichols || Goulding)
2017-03-21 21:16:12 -04:00
parent 02ba07fc70
commit df2faed2c2

View File

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