# E0075

Warning name: `unnecessary_view_op`

Unnecessary `[:]` view operation.

When the expected type is already a view type, MoonBit can insert the view
conversion automatically. Writing `[:]` explicitly in that context is redundant.

## Erroneous example

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

## Suggestion

Remove the redundant `[:]`.

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