rust/tests/ui/inline-const/in-pat-recovery.stderr

11 lines
255 B
Plaintext

error: `inline_const_pat` has been removed
--> $DIR/in-pat-recovery.rs:6:15
|
LL | const { 1 + 7 } => {}
| ^^^^^^^^^
|
= help: use a named `const`-item or an `if`-guard instead
error: aborting due to 1 previous error