---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_error_accumulation_vs_single_error"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct CompareErrorModes {
      bad1: String,
      bad2: i32,
      bad3: HashMap<String, Vec<i32>>,
  }

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

Accumulated Error Mode: >
  literal types do not take any arguments
