diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-31 05:04:59 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-31 05:04:59 +0530 |
| commit | 74546e8ab795a5fabdf4f5079a875b8c69573003 (patch) | |
| tree | 5693f2f5a1012e27364f689c03f988afaf8d38a1 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 9957081e78643aafab55f35c96d7c08936521dea (diff) | |
| parent | e1d8ad3fb0a1fc764bd2b117141ee94ef78460e6 (diff) | |
| download | rust-74546e8ab795a5fabdf4f5079a875b8c69573003.tar.gz rust-74546e8ab795a5fabdf4f5079a875b8c69573003.zip | |
Rollup merge of #32494 - pnkfelix:gate-parser-recovery-via-debugflag, r=nrc
Gate parser recovery via debugflag Gate parser recovery via debugflag Put in `-Z continue_parse_after_error` This works by adding a method, `fn abort_if_no_parse_recovery`, to the diagnostic handler in `syntax::errors`, and calling it after each error is emitted in the parser. (We might consider adding a debugflag to do such aborts in other places where we are currently attempting recovery, such as resolve, but I think the parser is the really important case to handle in the face of #31994 and the parser bugs of varying degrees that were injected by parse error recovery.) r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
