Closed
Description
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 _;
}
Metadata
Metadata
Assignees
Labels
Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCStatus: There are blocking design concerns.Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Relevant to the language team