blob: 583074888c9b66fb5b62c02d16e02f3c57b2b3d1 (
plain)
1
2
3
4
5
6
7
8
9
|
// https://github.com/rust-lang/rust/issues/55454
// build-pass (FIXME(62277): could be check-pass?)
struct This<T>(T);
const C: This<Option<&i32>> = This(Some(&1));
fn main() {
}
|