Skip to content

Use assert_eq! rather than assert! where possible - #6601

Closed
emberian wants to merge 1 commit into
rust-lang:incomingfrom
emberian:assert_eq
Closed

Use assert_eq! rather than assert! where possible#6601
emberian wants to merge 1 commit into
rust-lang:incomingfrom
emberian:assert_eq

Conversation

@emberian

Copy link
Copy Markdown
Contributor

No description provided.

@brson

Copy link
Copy Markdown
Contributor

Needs rebase! 👾

bors added a commit that referenced this pull request May 19, 2013
@borsbors closed this May 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 11, 2021
…msteffen
Fix false positive for unit_arg lint
Fixesrust-lang#6447
To avoid false positives don't complain about unit args when they come from a path expression, e.g. a local variable.
**Note:** This is my first contribution to Clippy, so I might have messed up somewhere. Any feedback is welcome and I'm happy to work out any kinks.
---
changelog: Do not lint unit arguments when they come from a path expression.
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6601: add let and letm postfix to turn expressions into variables r=matklad a=bnjjj
Partially resolverust-lang#6426 Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@emberian@brson@bors