1 #![feature(capture_disjoint_fields)]
2 //~^ WARNING: the feature `capture_disjoint_fields` is incomplete
3 //~| `#[warn(incomplete_features)]` on by default
4 //~| see issue #53488 <https://github.com/rust-lang/rust/issues/53488>
6 // Check that precise paths are being reported back in the error message.
15 let mut point = MultiVariant::Point(10, -10,);
17 let mut meta = MultiVariant::Meta(1);
20 if let MultiVariant::Point(ref mut x, _) = point {
24 if let MultiVariant::Meta(ref mut v) = meta {
30 let b = c; //~ ERROR use of moved value: `c` [E0382]