syn-miette 0.1.0

A `syn::Error` wrapper that provides pretty diagnostic messages using `miette`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
---
source: src/lib.rs
expression: "test_parse::<DeriveInput>(\"struct Foo\", Behaviour::IncludeSource)"
---
  × unexpected end of input, expected one of: `where`, parentheses, curly
  │ braces, `;`
   ╭────
 1 │ struct Foo
   · ▲
   · ╰── unexpected end of input, expected one of: `where`, parentheses, curly braces, `;`
   ╰────