From a4b9c196b13a2029ef0de198114a29c71a192d03 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 3 Mar 2025 14:57:03 +1100 Subject: [PATCH] Manually update nightly version While trying to use the `macro_use_imports` lint I found that there is a bug in last weeks nightly. It has been fixed already so lets update. Update to todays nightly compiler. Doing so causes some new linter warnings, for now we just allow them. --- bitcoin/src/psbt/mod.rs | 4 ++++ nightly-version | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bitcoin/src/psbt/mod.rs b/bitcoin/src/psbt/mod.rs index 2471fc41d..1d83f5583 100644 --- a/bitcoin/src/psbt/mod.rs +++ b/bitcoin/src/psbt/mod.rs @@ -135,6 +135,7 @@ impl Psbt { /// An alias for [`extract_tx_fee_rate_limit`]. /// /// [`extract_tx_fee_rate_limit`]: Psbt::extract_tx_fee_rate_limit + #[allow(clippy::result_large_err)] // The PSBT returned in `SendingToomuch` is large. pub fn extract_tx(self) -> Result { self.internal_extract_tx_with_fee_rate_limit(Self::DEFAULT_MAX_FEE_RATE) } @@ -146,6 +147,7 @@ impl Psbt { /// [`ExtractTxError`] variants will contain either the [`Psbt`] itself or the [`Transaction`] /// that was extracted. These can be extracted from the Errors in order to recover. /// See the error documentation for info on the variants. In general, it covers large fees. + #[allow(clippy::result_large_err)] // The PSBT returned in `SendingToomuch` is large. pub fn extract_tx_fee_rate_limit(self) -> Result { self.internal_extract_tx_with_fee_rate_limit(Self::DEFAULT_MAX_FEE_RATE) } @@ -157,6 +159,7 @@ impl Psbt { /// See [`extract_tx`]. /// /// [`extract_tx`]: Psbt::extract_tx + #[allow(clippy::result_large_err)] // The PSBT returned in `SendingToomuch` is large. pub fn extract_tx_with_fee_rate_limit( self, max_fee_rate: FeeRate, @@ -184,6 +187,7 @@ impl Psbt { } #[inline] + #[allow(clippy::result_large_err)] // The PSBT returned in `SendingToomuch` is large. fn internal_extract_tx_with_fee_rate_limit( self, max_fee_rate: FeeRate, diff --git a/nightly-version b/nightly-version index bd3641e45..44b3e69d4 100644 --- a/nightly-version +++ b/nightly-version @@ -1 +1 @@ -nightly-2025-02-28 +nightly-2025-03-03