1 2 3 4 5 6 7 8 9 10 11 12
// run-pass // From https://github.com/rust-lang/rust/issues/65727 const _: &i32 = { let x = &(5, false).0; x }; fn main() { let _: &'static i32 = &(5, false).0; }