Gilnaa / memoffset

offsetof for Rust
MIT License
224 stars 29 forks source link

allow clippy lint #35

Closed RalfJung closed 4 years ago

RalfJung commented 4 years ago

Fixes https://github.com/Gilnaa/memoffset/issues/34

RalfJung commented 4 years ago

No, we won't raise the MSRV for this. Do you know which Rust version started supporting clippy lint control like this?

asomers commented 4 years ago

Looks like it was in Rust 1.31.0. The blog post shows the older syntax, too. https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html#tool-lints