rust/clippy_lints
bors dd857f8207 Auto merge of #11966 - StackOverflowExcept1on:issue-8159, r=Jarcho
Do not lint `assertions_on_constants` for `const _: () = assert!(expr)`

Fixes #8159

```rust
pub fn f() {
    // warning
    assert!(true);
    assert!(usize::BITS >= 32);

    // ok
    const _: () = assert!(usize::BITS >= 32);
}
```

changelog: Fix `const _: () = assert!(expr)` false positive on `assertions_on_constants` lint
2023-12-17 14:03:13 +00:00
..
src Auto merge of #11966 - StackOverflowExcept1on:issue-8159, r=Jarcho 2023-12-17 14:03:13 +00:00
Cargo.toml Update regex-syntax to support new word boundry assertions 2023-12-02 19:44:36 +00:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.