]> git.lizzy.rs Git - rust.git/commit
rustc: Don't ICE if we invalidate an invalid incr dir
authorAlex Crichton <alex@alexcrichton.com>
Fri, 5 Jan 2018 18:07:36 +0000 (10:07 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 5 Jan 2018 18:51:29 +0000 (10:51 -0800)
commitfcdca7f2da86111704e54e932f3e5ffa31d70366
tree196f15f61a739bd410f1530410745cd9d1b57902
parent8c9bf663d4a8074e4955d1ad3f85a3b82e946297
rustc: Don't ICE if we invalidate an invalid incr dir

This showed up on the Windows bot for testing this PR, and this pr allows
`mark_incr_comp_session_as_invalid` ok if it's already invalid, hopefully
avoiding scary ICEs and instead leaving the nicely printed errors
src/librustc/session/mod.rs