about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-04 06:54:21 +0000
committerbors <bors@rust-lang.org>2021-11-04 06:54:21 +0000
commit4061c0407978a00c5c2518d898ad8406da28c106 (patch)
tree2603c5786d9883b83d87158779993b8f8ab5fccf /compiler/rustc_mir_transform/src/coverage/counters.rs
parent0b4ac62ddaf9ee01b8aaf9dd7097f1f541d64551 (diff)
parentbd194da4c2116e2461f8dfee51c12d343a62f53e (diff)
downloadrust-4061c0407978a00c5c2518d898ad8406da28c106.tar.gz
rust-4061c0407978a00c5c2518d898ad8406da28c106.zip
Auto merge of #87467 - inquisitivecrystal:ref-unwind, r=dtolnay
Implement `RefUnwindSafe` for `Rc<T>`

This PR implements `RefUnwindSafe` for `Rc<T>`, where `T: RefUnwindSafe`.

This impl was omitted by an apparent oversight. `Rc<T>` already implements `UnwindSafe`. `Arc<T>` implements both `UnwindSafe` and `RefUnwindSafe`. There is no reason why an `&Rc<T>` is any less unwind safe than a `Rc<T>` or an `&Arc<T>`, so this should be safe to add.

Resolves #45924.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions