mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
2c71638be5
Volatile reads and writes to non-primitive types are not well-defined, and can cause problems. Fixes rust-lang/rust-clippy#15529 changelog: [`volatile_composites`]: Lint when read/write_volatile is used on composite types (structs, arrays, etc) as their semantics are not well defined.