---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_error_missing_node_id_generic"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct MissingGeneric {
      bad_node: NodeId,
  }

Error: >
  Error(
      "Expected NodeId to have at least one type argument",
  )
