File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ mod tests;
20
20
21
21
// The proc macro code for this is in `compiler/rustc_macros/src/symbols.rs`.
22
22
symbols ! {
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.
25
25
Keywords {
26
26
// Special reserved identifiers used internally for elided lifetimes,
27
27
// unnamed method parameters, crate root module, error recovery etc.
@@ -893,7 +893,7 @@ symbols! {
893
893
inline_const_pat,
894
894
inout,
895
895
instruction_set,
896
- integer_: "integer" ,
896
+ integer_: "integer" , // underscore to avoid clashing with the function `sym::integer` below
897
897
integral,
898
898
into_future,
899
899
into_iter,
You can’t perform that action at this time.
0 commit comments