---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_error_complex_invalid_type"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct ComplexInvalid {
      good: NodeId<crate::Type>,
      bad_result: Result<NodeId<crate::Type>, Error>,
      bad_box: Box<NodeId<crate::Type>>,
  }

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