---
source: compiler-core/src/parse/tests.rs
expression: "\ntype Wibble {\n    @internal\n    Wibble1\n}\n"
---
----- SOURCE CODE

type Wibble {
    @internal
    Wibble1
}


----- ERROR
error: Syntax error
  ┌─ /src/parse/error.gleam:3:5
  │
3 │     @internal
  │     ^^^^^^^^^ This attribute cannot be used on a variant.

Hint: Did you mean `@deprecated`?
