# E0060

Warning name: `unused_struct_update`

Unused struct update.

This warning is emitted when a struct update expression is computed but its
result is not used. Use the updated value, or remove the update if it is
unnecessary.

## Erroneous example

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

## Suggestion

Use the updated value, or remove the struct update:

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