1 2 3 4 5 6 7 8 9
// https://github.com/rust-lang/rust/issues/55454 // compile-pass struct This<T>(T); const C: This<Option<&i32>> = This(Some(&1)); fn main() { }