Rewrite non_copy_const (#13207)

fixes #12979
fixes #12951
fixes #13233

Tests still need to be finished and the docs still need to be updated,
but this should otherwise ready.

changelog: Lint `declare_interior_mutable_const` and
`borrow_interior_mutable_const` more precisely
This commit is contained in:
llogiq 2025-05-16 15:05:36 +00:00 committed by GitHub
commit 94cfebb397
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 1715 additions and 1880 deletions

File diff suppressed because it is too large Load diff