ref-cast 0.2.7

Safely cast &T to &U where the struct U contains a single field of type T.
Documentation
#[rustversion::attr(not(nightly), ignore)]
#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/*.rs");
}