Skip to content

Conversation

@thestinger
Copy link
Contributor

@bors bors closed this Jun 23, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 17, 2021
Don't warn about `cfg!(..)` as a constant in assertions

This makes clippy understand that `cfg!(..)` is not just a hardcoded `true` or `false` (even though it expands to one of those).

cc `@khyperia`

changelog: Don't treat `cfg!(..)` as a constant in [`assertions-on-constants`]
Sign up for free to 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.

2 participants