diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-05-09 06:04:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-09 06:04:39 +0200 |
| commit | c49436df4c7d59af58a11b9bf30292853ef48008 (patch) | |
| tree | da84f77dfdfc28df20e523b415789fc78c7d97aa /compiler/rustc_codegen_cranelift/example/std_example.rs | |
| parent | 4510ee3af35d4f5496b9a44f1168570b18d5c545 (diff) | |
| parent | 7dbdbaaa8e4ce77f9b2f1428c82f7166fe6f02fb (diff) | |
| download | rust-c49436df4c7d59af58a11b9bf30292853ef48008.tar.gz rust-c49436df4c7d59af58a11b9bf30292853ef48008.zip | |
Rollup merge of #124875 - compiler-errors:more-diagnostics-ices, r=estebank
Fix more ICEs in `diagnostic::on_unimplemented` There were 8 other calls to `expect_local` left in `on_unimplemented.rs` -- all of which (afaict) could be turned into ICEs. I would really like to see validation of `on_unimplemented` separated from parsing, so we only emit errors here: https://github.com/rust-lang/rust/blob/a60f077c38fe66d05449919842d3d73e3299bbab/compiler/rustc_hir_analysis/src/check/check.rs#L836-L839 ...And gracefully fail instead when emitting trait predicate failures, not *ever* even trying to emit an error or a lint. But that's left for a separate PR. r? `@estebank`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
