Interior mutable const lints trigger on HeaderValue constants #7752
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint name:
declare_interior_mutable_const
borrow_interior_mutable_const
I tried this code:
I expected to see this happen:
The program should compile without warnings.
Instead, this happened:
Meta
Rust version (
rustc -Vv
):The text was updated successfully, but these errors were encountered: