# M0029 unknown struct field (/docs/diagnostics/codes/m0029)

<Diagnostic code="M0029" />

## The mistake and the fix [#the-mistake-and-the-fix]

<div className="code-pair">

```go title="The mistake"
u := User{Nmae: "ada"}
```

```go title="Fixed"
u := User{Name: "ada"} // [!code highlight]
```

</div>

## The fix [#the-fix]

Use one of the struct's fields.

See also [all error codes](/docs/diagnostics/codes) and [marmot explain](/docs/commands/explain).