Merge pull request #2681 from tnull/2023-10-bump-msrv-to-1.63.0
[rust-lightning] / lightning / src / ln / payment_tests.rs
index 01f59528989a7cc1f14c40a0e78cfc29bddb091d..adc611e7e190833fc8a8f87346f2ba2009bab730 100644 (file)
@@ -3339,6 +3339,7 @@ fn test_threaded_payment_retries() {
                // We really want std::thread::scope, but its not stable until 1.63. Until then, we get unsafe.
                let node_ref = NodePtr::from_node(&nodes[0]);
                move || {
+                       let _ = &node_ref;
                        let node_a = unsafe { &*node_ref.0 };
                        while Instant::now() < end_time {
                                node_a.node.get_and_clear_pending_events(); // wipe the PendingHTLCsForwardable