Gilnaa / memoffset

offsetof for Rust
MIT License
224 stars 29 forks source link

Have some compile-fail tests #23

Closed RalfJung closed 2 years ago

RalfJung commented 5 years ago

We should have compile-fail tests (as doctests, I heard that's possible) to make sure we properly check for deref coercions, and whatever else might be relevant.