rust/compiler/rustc_mir_build/src
the8472 8d95bb2146
Rollup merge of #89126 - FabianWolff:issue-89088, r=petrochenkov
Fix ICE when `indirect_structural_match` is allowed

Fixes #89088. The ICE is caused by `delay_good_path_bug()`, which is called (indirectly) from a `format!()` macro invocation. I have moved the macro invocation into the `decorate` closure of `struct_span_lint_hir()`, so that the macro is only invoked if the lint is not allowed (i.e., causes at least a warning, and thus prevents `delay_good_path_bug()` from firing).
2021-09-21 22:54:06 +02:00
..
build Rollup merge of #89113 - BoxyUwU:incr-comp-thir-act, r=lcnr 2021-09-21 22:54:03 +02:00
thir Fix ICE when indirect_structural_match is allowed 2021-09-20 21:25:44 +02:00
check_unsafety.rs move thir visitor to rustc_middle 2021-09-09 01:32:03 +01:00
lib.rs Remove box syntax from rustc_mir_build 2021-08-18 09:25:26 +02:00
lints.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00