# E4187

Compiler diagnostic name: `using_missing_keyword`.

Missing keyword in a `using` alias.

When a `using` declaration imports a type or trait, the imported name must be
prefixed with the corresponding keyword. This keeps type and trait aliases
distinct from value aliases.

## Erroneous example

The following example imports the builtin `Array` type without the `type`
keyword:

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

MoonBit will report an error.

## Suggestion

Add `type` when importing a type, or `trait` when importing a trait:

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