rust/compiler/rustc_mir_transform
Alan Egerton 58292e2a53
Consider captures to be used by closures that unwind
Assignments to a captured variable within a diverging closure should not
be considered unused if the divergence is caught.

This patch considers such assignments/captures to be used by diverging
closures irrespective of whether the divergence is caught, but better a
false negative unused lint than a false positive one (the latter having
caused a stable-to-stable regression).
2026-02-04 12:35:34 +00:00
..
src Consider captures to be used by closures that unwind 2026-02-04 12:35:34 +00:00
Cargo.toml Re-export hashbrown::hash_table from rustc_data_structures 2026-01-31 14:48:50 +11:00
messages.ftl Handle inline asm in has_ffi_unwind_calls 2025-11-25 16:01:02 +00:00