Skip to content

Make nightly build again (trailing semicolons in macro in expressions) - #2827

Open
knoellle wants to merge 2 commits into
HULKs:mainfrom
knoellle:nightly-lint-trailing-semicolons
Open

Make nightly build again (trailing semicolons in macro in expressions)#2827
knoellle wants to merge 2 commits into
HULKs:mainfrom
knoellle:nightly-lint-trailing-semicolons

Conversation

@knoellle

Copy link
Copy Markdown
Member

Why? What?

The bail macro cannot be used in an expression context in latest rust nightly, causing compilation to fail. This PR changes all our bail! invocations to be in a statement context, making everything compile again.
I also added a shim to version-launder cfg_aliases crate since it suffers from the same issue and outdated versions of it lurk in our dependency tree.

Rust tracking issue #79813

ToDo / Known Issues

Ideas for Next Iterations (Not This PR)

How to Test

rustup run nightly ./pepsi clippy

@github-project-automation github-project-automation Bot moved this to In Progress in Development Jul 24, 2026
@knoellle knoellle moved this from In Progress to Review in Development Jul 24, 2026
@knoellle
knoellle enabled auto-merge July 24, 2026 12:18
@paudar paudar self-assigned this Jul 29, 2026

@paudar paudar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I run the pepsi command as stated in the how to test section and got the same warnings as output as on main. Is that expected behavior?
(All of the warnings give a hint to explicitly specify a number as f32)

@paudar paudar assigned knoellle and unassigned paudar Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

2 participants