mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
a595f3218e
offset_of: allow (unstably) taking the offset of slice tail fields Fields of type `[T]` have a statically known offset, so there is no reason to forbid them in `offset_of!`. This PR adds the `offset_of_slice` feature to allow them. I created a tracking issue: https://github.com/rust-lang/rust/issues/126151. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl | ||
README.md |
For more information about how rustc works, see the rustc dev guide.