| 1 | #![allow(clippy::extra_unused_type_parameters)] |
| 2 | |
| 3 | use anyhowrust-analyzer cargo anyhow 1.0.103 crate/::Errorrust-analyzer cargo anyhow 1.0.103 Error#; |
| 4 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::panicrust-analyzer cargo std https://github.com/rust-lang/rust/library/std panic/::{RefUnwindSaferust-analyzer cargo core https://github.com/rust-lang/rust/library/core panic/unwind_safe/RefUnwindSafe#, UnwindSaferust-analyzer cargo core https://github.com/rust-lang/rust/library/core panic/unwind_safe/UnwindSafe#}; |
| 5 | |
| 6 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 7 | fn test_sendrust-analyzer cargo anyhow 1.0.103 test_send().() { |
| 8 | fn assert_sendrust-analyzer cargo anyhow 1.0.103 assert_send().<T: Sendrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Send#>() {} |
| 9 | assert_sendrust-analyzer cargo anyhow 1.0.103 assert_send().::<Errorrust-analyzer cargo anyhow 1.0.103 Error#>(); |
| 10 | } |
| 11 | |
| 12 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 13 | fn test_syncrust-analyzer cargo anyhow 1.0.103 test_sync().() { |
| 14 | fn assert_syncrust-analyzer cargo anyhow 1.0.103 assert_sync().<T: Syncrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sync#>() {} |
| 15 | assert_syncrust-analyzer cargo anyhow 1.0.103 assert_sync().::<Errorrust-analyzer cargo anyhow 1.0.103 Error#>(); |
| 16 | } |
| 17 | |
| 18 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 19 | fn test_unwind_saferust-analyzer cargo anyhow 1.0.103 test_unwind_safe().() { |
| 20 | fn assert_unwind_saferust-analyzer cargo anyhow 1.0.103 assert_unwind_safe().<T: UnwindSaferust-analyzer cargo core https://github.com/rust-lang/rust/library/core panic/unwind_safe/UnwindSafe#>() {} |
| 21 | assert_unwind_saferust-analyzer cargo anyhow 1.0.103 assert_unwind_safe().::<Errorrust-analyzer cargo anyhow 1.0.103 Error#>(); |
| 22 | } |
| 23 | |
| 24 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 25 | fn test_ref_unwind_saferust-analyzer cargo anyhow 1.0.103 test_ref_unwind_safe().() { |
| 26 | fn assert_ref_unwind_saferust-analyzer cargo anyhow 1.0.103 assert_ref_unwind_safe().<T: RefUnwindSaferust-analyzer cargo core https://github.com/rust-lang/rust/library/core panic/unwind_safe/RefUnwindSafe#>() {} |
| 27 | assert_ref_unwind_saferust-analyzer cargo anyhow 1.0.103 assert_ref_unwind_safe().::<Errorrust-analyzer cargo anyhow 1.0.103 Error#>(); |
| 28 | } |
| 29 | |
| 30 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 31 | fn test_unpinrust-analyzer cargo anyhow 1.0.103 test_unpin().() { |
| 32 | fn assert_unpinrust-analyzer cargo anyhow 1.0.103 assert_unpin().<T: Unpinrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Unpin#>() {} |
| 33 | assert_unpinrust-analyzer cargo anyhow 1.0.103 assert_unpin().::<Errorrust-analyzer cargo anyhow 1.0.103 Error#>(); |
| 34 | } |