summary refs log tree commit diff
path: root/src/test/ui/feature-gates/feature-gate-destructuring_assignment.stderr
blob: 62e71decb32a0bab1e229e52dc196819d6a4d4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0658]: destructuring assignments are unstable
  --> $DIR/feature-gate-destructuring_assignment.rs:3:12
   |
LL |     (a, b) = (2, 3);
   |     ------ ^
   |     |
   |     cannot assign to this expression
   |
   = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
   = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.