about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorthe8472 <the8472@users.noreply.github.com>2021-09-21 22:54:06 +0200
committerGitHub <noreply@github.com>2021-09-21 22:54:06 +0200
commit8d95bb21460be6c3c8d72c5ad4827827b90d3112 (patch)
treedff4d460b2f71635461a0197de387989d1a6a4c0 /library/std/src/sys/unix/stack_overflow.rs
parent74cdd64ac946ab17131b8e95154a37c28a07bb5b (diff)
parent402ebc72b32529398220467e09227e2749200345 (diff)
downloadrust-8d95bb21460be6c3c8d72c5ad4827827b90d3112.tar.gz
rust-8d95bb21460be6c3c8d72c5ad4827827b90d3112.zip
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).
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions