// check-pass // Test for https://github.com/rust-lang/rust-clippy/issues/4968 trait Trait { type Assoc; } use std::mem::{self, ManuallyDrop}; #[allow(unused)] fn func(slice: Vec) { unsafe { let _: Vec> = mem::transmute(slice); } } fn main() {}