Commit 678e01a
committed
Delay parsing of
By storing the unparsed values in `Config` and then parsing them within
`run_compiler`, the parsing functions can use the main symbol interner,
and not create their own short-lived interners.
This change also eliminates the need for one `EarlyErrorHandler` in
rustdoc, because parsing errors can be reported by another, slightly
later `EarlyErrorHandler`.--cfg and --check-cfg options.1 parent ec2b311 commit 678e01a
File tree
5 files changed
+254
-272
lines changed- compiler
- rustc_driver_impl/src
- rustc_interface/src
- src/librustdoc
5 files changed
+254
-272
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
321 | | - | |
322 | 320 | | |
323 | 321 | | |
324 | 322 | | |
325 | | - | |
326 | | - | |
| 323 | + | |
| 324 | + | |
327 | 325 | | |
328 | 326 | | |
329 | 327 | | |
| |||
0 commit comments