---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_ast_error_accumulation_multiple_field_errors"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct MultipleErrors {
      bad_field1: HashMap<String, i32>,
      bad_field2: Result<NodeId<crate::Type>, Error>,
      self_: NodeId<crate::Type>,
      good_field: NodeId<crate::Type>,
  }

Accumulated Errors: >
  literal types do not take any arguments

Single Error (Regular Processing): >
  Error(
      [
          "literal types do not take any arguments",
          "literal types do not take any arguments",
      ],
  )
