1
Fork 0
rust/compiler/rustc_hir_analysis/src
bors 538f118da1 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.
2022-10-12 14:39:43 +00:00
..
astconv Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
check Rollup merge of #102890 - camsteffen:adt-sized-representability, r=cjgillot 2022-10-12 11:11:26 +05:30
coherence Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
collect Move lifetime resolution module to rustc_hir_analysis. 2022-10-10 17:40:52 +00:00
impl_wf_check Fix compiler docs 2022-10-10 18:28:29 +02:00
outlives
structured_errors
variance
bounds.rs
check_unused.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
collect.rs add panic_fmt_nounwind for panicing without unwinding, and use it for panic_no_unwind 2022-10-11 22:47:31 +02:00
constrained_generic_params.rs Fix compiler docs 2022-10-10 18:28:29 +02:00
errors.rs errors: rename typeck.ftl to hir_analysis.ftl 2022-10-03 13:52:17 +01:00
expr_use_visitor.rs Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
hir_wf_check.rs Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
impl_wf_check.rs Report duplicate definitions in trait impls during resolution. 2022-10-11 06:24:51 +00:00
lib.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
mem_categorization.rs Fix compiler docs 2022-10-10 18:28:29 +02:00
structured_errors.rs