---
source: crates/laburnum-syntax-macro/src/tests/ast_tests.rs
expression: "use laburnum_syntax_macro::tests::ast_tests::test_ast_error_invalid_field_type"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct InvalidField {
      bad_field: HashMap<String, i32>,
  }

Error: >
  Error(
      "literal types do not take any arguments",
  )
