Tracking issue for unsized tuple coercion · Issue #42877 · rust-lang/rust (original) (raw)
This is a part of #18469. This is currently feature-gated behind #![feature(unsized_tuple_coercion)]
to avoid insta-stability.
Related issues/PRs: #18469, #32702, #34451, #37685, #42527
This is needed for unsizing the last field in a tuple:
#![feature(unsized_tuple_coercion)] fn main() { let _: &(i32, [i32]) = &(3, [3, 3]) as _; }