---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_cst_error_accumulation_multiple_naming_errors"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(CST)]
  pub struct MultipleNamingErrors {
      span: Span,
      bad_control: ControlSpan,
      bad_keyword: KeywordSpan,
      bad_scalar: ScalarSpan,
      good_token: ControlSpan,
  }

Accumulated Naming Errors: >
  field 'bad_control' must end with '_token' for this field type
