]> git.lizzy.rs Git - rust.git/blob - src/test/ui/destructuring-assignment/underscore-range-expr-gating.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / ui / destructuring-assignment / underscore-range-expr-gating.rs
1 fn main() {}
2
3 struct S { x : u32 }
4
5 #[cfg(FALSE)]
6 fn foo() {
7     _; //~ ERROR destructuring assignments are unstable
8
9     S { x: 5, .. }; //~ ERROR destructuring assignments are unstable
10 }