---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_error_conflicting_flags"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST, CST)]
  pub struct Conflicting {
      field: NodeId<crate::Type>,
  }

Error: >
  Error(
      "Cannot specify both AST and CST flags. Choose either AST or CST, not both: #[laburnum_syntax(AST)] or #[laburnum_syntax(CST)].",
  )
