summary refs log tree commit diff
path: root/src/test/ui/feature-gate-if_while_or_patterns.stderr
blob: 909046812d3b1005bd577f0aba0f907542fc1865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error[E0658]: multiple patterns in `if let` and `while let` are unstable (see issue #48215)
  --> $DIR/feature-gate-if_while_or_patterns.rs:12:5
   |
LL | /     if let 0 | 1 = 0 { //~ ERROR multiple patterns in `if let` and `while let` are unstable
LL | |         ;
LL | |     }
   | |_____^
   |
   = help: add #![feature(if_while_or_patterns)] to the crate attributes to enable

error[E0658]: multiple patterns in `if let` and `while let` are unstable (see issue #48215)
  --> $DIR/feature-gate-if_while_or_patterns.rs:15:5
   |
LL | /     while let 0 | 1 = 1 { //~ ERROR multiple patterns in `if let` and `while let` are unstable
LL | |         break;
LL | |     }
   | |_____^
   |
   = help: add #![feature(if_while_or_patterns)] to the crate attributes to enable

error: aborting due to 2 previous errors

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