rust/tests/ui/inline-const/pat-match-fndef.stderr

9 lines
188 B
Plaintext
Raw Normal View History

2023-08-14 23:03:04 -05:00
error: `fn() {uwu}` cannot be used in patterns
--> $DIR/pat-match-fndef.rs:8:9
2023-08-14 23:03:04 -05:00
|
LL | const { uwu } => {}
| ^^^^^^^^^^^^^
error: aborting due to 1 previous error
2023-08-14 23:03:04 -05:00