File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ mod tests;
2020
2121// The proc macro code for this is in `compiler/rustc_macros/src/symbols.rs`.
2222symbols ! {
23- // After modifying this list adjust `is_special`, `is_used_keyword`/`is_unused_keyword`,
24- // this should be rarely necessary though if the keywords are kept in alphabetic order.
23+ // If you modify this list, adjust `is_special` and `is_used_keyword`/`is_unused_keyword`.
24+ // But this should rarely be necessary if the keywords are kept in alphabetic order.
2525 Keywords {
2626 // Special reserved identifiers used internally for elided lifetimes,
2727 // unnamed method parameters, crate root module, error recovery etc.
@@ -893,7 +893,7 @@ symbols! {
893893 inline_const_pat,
894894 inout,
895895 instruction_set,
896- integer_: "integer" ,
896+ integer_: "integer" , // underscore to avoid clashing with the function `sym::integer` below
897897 integral,
898898 into_future,
899899 into_iter,
You can’t perform that action at this time.
0 commit comments