Commit 6b59a4c
committed
Document built-in macros and
Macros are part of the standard library prelude. One might expect
these to not be in scope when `no_implicit_prelude` is used. But
certain macros still are. The history is that these macros were once
built in to the language; when this was changed, in Rust PR 62086, a
hack was added. Then in Rust PR 139493 this list grew to include
`panic!` and `unreachable!`.no_implicit_prelude
1 parent 33aa4f4 commit 6b59a4c
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
195 | 230 | | |
196 | 231 | | |
197 | 232 | | |
| |||
0 commit comments