File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,14 @@ The following keywords are reserved beginning in the 2024 edition.
100100These keywords have special meaning only in certain contexts. For example, it
101101is possible to declare a variable or method with the name ` union ` .
102102
103+ > ** <sup >Lexer</sup >** \
104+ > KW_MACRO_RULES : ` macro_rules ` \
105+ > KW_UNION : ` union ` \
106+ > KW_STATICLIFETIME : ` 'static `
107+ >
108+ > ** <sup >Lexer 2015</sup >** \
109+ > KW_DYN : ` dyn `
110+
103111* ` macro_rules ` is used to create custom [ macros] .
104112* ` union ` is used to declare a [ union] and is only a keyword when used in a
105113 union declaration.
@@ -116,13 +124,6 @@ is possible to declare a variable or method with the name `union`.
116124
117125 Beginning in the 2018 edition, ` dyn ` has been promoted to a strict keyword.
118126
119- > ** <sup >Lexer</sup >** \
120- > KW_MACRO_RULES : ` macro_rules ` \
121- > KW_UNION : ` union ` \
122- > KW_STATICLIFETIME : ` 'static `
123- >
124- > ** <sup >Lexer 2015</sup >** \
125- > KW_DYN : ` dyn `
126127* ` safe ` is used for functions and statics, which has meaning in [ external blocks] .
127128
128129[ items ] : items.md
You can’t perform that action at this time.
0 commit comments