---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_error_span_preservation"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct SpanTest {
      good_field: NodeId<crate::Type>,
      bad_field: HashMap<String, i32>,
      another_good: Option<NodeId<crate::Type>>,
  }

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