# Pre-Pre-RFC: Field offsets

**URL:** <https://internals.rust-lang.org/t/pre-pre-rfc-field-offsets/7845>\
**Category:** language design\
**Created:** [July 2, 2018, 12:14am UTC](https://internals.rust-lang.org/t/pre-pre-rfc-field-offsets/7845 "2018-07-02T00:14:47Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mcy](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/mcy/32/6512_2.png) [@mcy](https://internals.rust-lang.org/u/mcy)\
**Post date:** [July 2, 2018, 9:01am UTC](https://internals.rust-lang.org/t/pre-pre-rfc-field-offsets/7845/7 "2018-07-02T09:01:08Z")

</div>

I will point out that the size of `T.U` does leak “private” information, insofar that I can tell if a struct as more than one field of a particular type by measuring `size_of::<T.U>()`, but doing that would just be plain silly!

---

_[View the full topic](https://internals.rust-lang.org/t/pre-pre-rfc-field-offsets/7845)._
