about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-17 20:21:21 +0100
committerGitHub <noreply@github.com>2024-01-17 20:21:21 +0100
commit6ca77ff72237d16ebb535ecf86c0b9794f47f3ae (patch)
tree6118f041aebfdf37361cf73b2e0f0ec923ec3e2b /compiler/rustc_pattern_analysis/src/errors.rs
parentcc9a4a213493e16b25f56266097a1ec563665581 (diff)
parent3599c18874b6c8cc74ca2228fe61b17731769771 (diff)
downloadrust-6ca77ff72237d16ebb535ecf86c0b9794f47f3ae.tar.gz
rust-6ca77ff72237d16ebb535ecf86c0b9794f47f3ae.zip
Rollup merge of #120020 - oli-obk:long_const_eval_err_taint, r=compiler-errors
Gracefully handle missing typeck information if typeck errored

fixes #116893

I created some logs and the typeck of `fn main` is exactly the same, no matter whether the constant's body is what it is, or if it is replaced with `panic!()`. The latter will cause the ICE not to be emitted though. The reason for that is that we abort compilation if *errors* were emitted, but not if *lint errors* were emitted. This took me way too long to debug, and is another reason why I would have liked https://github.com/rust-lang/compiler-team/issues/633
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions