]> git.lizzy.rs Git - rust.git/blob - src/test/ui/destructuring-assignment/underscore-range-expr-gating.rs
Rollup merge of #78970 - calebcartwright:update-rustfmt, r=Aaron1011
[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     S { x: 5, .. }; //~ ERROR destructuring assignments are unstable
8 }