Skip to content

add missing semicolon to log_error call in scorer persist path - #26

Merged
gofman8 merged 1 commit into
devfrom
fix/nightly-trailing-semicolon
Jul 16, 2026
Merged

add missing semicolon to log_error call in scorer persist path#26
gofman8 merged 1 commit into
devfrom
fix/nightly-trailing-semicolon

Conversation

@dcorral

@dcorral dcorral commented Jul 16, 2026

Copy link
Copy Markdown

The latest Rust nightly promoted the semicolon_in_expressions_from_macros lint from warn to deny-by-default, which turns a log_error! invocation used in expression position (its expansion ends with a trailing semicolon) into a hard build error in lightning-background-processor. This broke every nightly CI build of rgb-lightning-node that compiles this submodule. The fix is a single semicolon so the macro call is a statement rather than the block's tail expression, with no behavior change. See the lint's entry in the nightly rustc docs: https://doc.rust-lang.org/nightly/rustc/lints/listing/deny-by-default.html#semicolon-in-expressions-from-macros (tracking issue rust-lang/rust#79813).

@dcorral dcorral self-assigned this Jul 16, 2026
@dcorral dcorral added the bugfix This PR contain bug fixes label Jul 16, 2026
@dcorral dcorral moved this from Todo to In progress in alpha-protocol Jul 16, 2026
@dcorral
dcorral force-pushed the fix/nightly-trailing-semicolon branch from 213e198 to 9576c51 Compare July 16, 2026 08:26
@gofman8
gofman8 merged commit 50c917b into dev Jul 16, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in alpha-protocol Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This PR contain bug fixes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants