---
source: crates/laburnum-syntax-macro/src/tests/error_tests.rs
expression: "use laburnum_syntax_macro::tests::error_tests::test_multiple_errors_in_compiler_output"
snapshot_kind: text
---
Input: >
  #[laburnum_syntax(AST)]
  pub struct MultipleCompilerErrors {
      bad_field1: HashMap<String, i32>,
      bad_field2: Result<NodeId<crate::Type>, Error>,
      self_: NodeId<crate::Type>,
  }

Compiler Error Output: >
  :: core :: compile_error ! { "literal types do not take any arguments" } :: core :: compile_error ! { "literal types do not take any arguments" }

Error String: >
  literal types do not take any arguments

Has Field Errors: >
  false

Has Type Errors: >
  true

Has Keyword Errors: >
  false
