diff options
| author | bors <bors@rust-lang.org> | 2022-10-12 14:39:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-12 14:39:43 +0000 |
| commit | 538f118da1409759ba198acc0ff62070bc6d2dce (patch) | |
| tree | 3becd0807c9f252f25ed5c7936e8bfc0f2f1fdff /compiler/rustc_parse/src | |
| parent | 50f6d337c632cbb5bd1dc3a80b5d428cebd8dce4 (diff) | |
| parent | 38c78a9ac17caefd4c5e6d0b332814b2ac2cf3a8 (diff) | |
| download | rust-538f118da1409759ba198acc0ff62070bc6d2dce.tar.gz rust-538f118da1409759ba198acc0ff62070bc6d2dce.zip | |
Auto merge of #102732 - RalfJung:assert_unsafe_precondition2, r=bjorn3
nicer errors from assert_unsafe_precondition This makes the errors shown by cargo-careful nicer, and since `panic_no_unwind` is `nounwind noreturn` it hopefully doesn't have bad codegen impact. Thanks to `@bjorn3` for the hint! Would be nice if we could somehow supply our own (static) message to print, currently it always prints `panic in a function that cannot unwind`. But still, this is better than before.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
