# E3009

A record pattern cannot contain only `..`. Use the wildcard pattern `_` instead.

## Erroneous example

```{literalinclude} /sources/error_codes/3009_error/top.mbt
:language: moonbit
```

## Suggestion

Use the wildcard pattern `_` instead of `{ .. }`:

```{literalinclude} /sources/error_codes/3009_fixed/top.mbt
:language: moonbit
```

You can also use `{ .. }` along with other fields if you want to match specific fields:

```{literalinclude} /sources/error_codes/3009_fixed/top_1.mbt
:language: moonbit
```
