// { dg-options "-w" } #[lang = "sized"] pub trait Sized {} fn test(x: *mut T) { let x = x as *mut u8; }