diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-17 20:21:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-17 20:21:21 +0100 |
| commit | 6ca77ff72237d16ebb535ecf86c0b9794f47f3ae (patch) | |
| tree | 6118f041aebfdf37361cf73b2e0f0ec923ec3e2b /compiler/rustc_pattern_analysis/src | |
| parent | cc9a4a213493e16b25f56266097a1ec563665581 (diff) | |
| parent | 3599c18874b6c8cc74ca2228fe61b17731769771 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
