about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-05-08 18:23:49 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-05-31 22:22:41 +0200
commit43b7d87be1da241ba25d04b1c53508d88fb2eb25 (patch)
tree8425aa356f58a7baa3464464b0c4c70d96463cdc /library/stdarch/crates/std_detect/src
parente04158caed74f678d9562b5505d94e0bfb864a5f (diff)
downloadrust-43b7d87be1da241ba25d04b1c53508d88fb2eb25.tar.gz
rust-43b7d87be1da241ba25d04b1c53508d88fb2eb25.zip
`missing_const_for_fn`: consider constness of instance
When determining when a function or method can be called from a `const`
context, the determination must be made on the instance, not on the
declaration. This makes a difference, for example, with `const_trait`
traits whose implementations may or may not be `const`.
Diffstat (limited to 'library/stdarch/crates/std_detect/src')
0 files changed, 0 insertions, 0 deletions