about summary refs log tree commit diff
path: root/tests/codegen-llvm/patchable-function-entry/patchable-function-entry-both-flags.rs
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2025-08-22 15:51:07 +0000
committerGitHub <noreply@github.com>2025-08-22 15:51:07 +0000
commitb43e62584e74fe5491fd3b824dbd6be5a69d8593 (patch)
treeb0e5685c8736249899a15d3ba75ca04e3fdec3d8 /tests/codegen-llvm/patchable-function-entry/patchable-function-entry-both-flags.rs
parent228f064434ae053c941d884db71c3faa713dde44 (diff)
parent86beeccb6519032d1bc067a05f87d797162d137d (diff)
downloadrust-b43e62584e74fe5491fd3b824dbd6be5a69d8593.tar.gz
rust-b43e62584e74fe5491fd3b824dbd6be5a69d8593.zip
Better check for `assign_op_pattern` in `const` context (#15532)
`assign_op_pattern` can be used in a `const` context if the trait
definition as well as the implementation of the corresponding `Assign`
pattern is `const` as well.

The lint was temporarily deactivated in the compiler repository for all
`const` contexts to avoid false positives when operators were
potentially constified. This reenables it when appropriate now that the
repositories have been synced.

Closes rust-lang/rust-clippy#15285

changelog: [`assign_op_pattern`]: trigger in `const` contexts when
appropriate

r? @flip1995
Diffstat (limited to 'tests/codegen-llvm/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions