Gilnaa / memoffset

offsetof for Rust
MIT License
224 stars 29 forks source link

Add #[allow(const_err)] on test offset_index_out_of_bounds #3

Closed cuviper closed 6 years ago

cuviper commented 6 years ago

The compiler now raises a deny-by-default const_err lint on this test, which doesn't let it get to the expected #[should_panic]. We can allow that lint in order to let the test hit the error it wants.

Gilnaa commented 6 years ago

Thanks :)