Add a couple of clarifying comments.
This commit is contained in:
parent
9893b75e0d
commit
6358411da2
1 changed files with 3 additions and 3 deletions
|
@ -20,8 +20,8 @@ mod tests;
|
||||||
|
|
||||||
// The proc macro code for this is in `compiler/rustc_macros/src/symbols.rs`.
|
// The proc macro code for this is in `compiler/rustc_macros/src/symbols.rs`.
|
||||||
symbols! {
|
symbols! {
|
||||||
// After modifying this list adjust `is_special`, `is_used_keyword`/`is_unused_keyword`,
|
// If you modify this list, adjust `is_special` and `is_used_keyword`/`is_unused_keyword`.
|
||||||
// this should be rarely necessary though if the keywords are kept in alphabetic order.
|
// But this should rarely be necessary if the keywords are kept in alphabetic order.
|
||||||
Keywords {
|
Keywords {
|
||||||
// Special reserved identifiers used internally for elided lifetimes,
|
// Special reserved identifiers used internally for elided lifetimes,
|
||||||
// unnamed method parameters, crate root module, error recovery etc.
|
// unnamed method parameters, crate root module, error recovery etc.
|
||||||
|
@ -893,7 +893,7 @@ symbols! {
|
||||||
inline_const_pat,
|
inline_const_pat,
|
||||||
inout,
|
inout,
|
||||||
instruction_set,
|
instruction_set,
|
||||||
integer_: "integer",
|
integer_: "integer", // underscore to avoid clashing with the function `sym::integer` below
|
||||||
integral,
|
integral,
|
||||||
into_future,
|
into_future,
|
||||||
into_iter,
|
into_iter,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue