# E3700

Compiler diagnostic name: `extra_ast_lint_warning`.

The parser found a syntax pattern that has a dedicated lint suggestion.

This diagnostic is used for AST-level lints that are reported as compiler
errors. One common case is multiplying a string literal by a number.

## Erroneous example

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

## Suggestion

Use the suggested API directly.

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