We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb716e commit dfc1415Copy full SHA for dfc1415
macro/src/dialect/error.rs
@@ -39,6 +39,7 @@ impl Error {
39
| Self::Utf8(_) => self,
40
}
41
42
+
43
pub fn to_compile_error(&self) -> TokenStream {
44
match self {
45
Self::Syn(err) => err.to_compile_error().into(),
0 commit comments