New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serde version after 1.0.157 report unexpected token
with svgbobdoc::transform!
#2413
Comments
unepxected token
with svgbobdoc::transform!
unexpected token
with svgbobdoc::transform!
This is probably a |
With serde version --- a/Cargo.lock
+++ b/Cargo.lock
@@ -36,22 +36,22 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.156"
+version = "1.0.157"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "314b5b092c0ade17c00142951e50ced110ec27cea304b1037c6969246c2469a4"
+checksum = "707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.156"
+version = "1.0.157"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d"
+checksum = "78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.4",
]
[[package]]
@@ -63,7 +63,7 @@ dependencies = [
"base64",
"proc-macro2",
"quote",
- "syn",
+ "syn 1.0.109",
"unicode-width",
]
@@ -78,6 +78,17 @@ dependencies = [
"unicode-ident",
]
+[[package]]
+name = "syn"
+version = "2.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c622ae390c9302e214c31013517c2061ecb2699935882c60a9b37f82f8625ae"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
[[package]]
name = "unicode-ident"
version = "1.0.8" There is a new
|
This appears on every derive macro which uses use thiserror::Error;
// This compiles ok
#[doc = svgbobdoc::transform!(
/// Foo
)]
pub struct Foo0;
// This compiles failed
#[doc = svgbobdoc::transform!(
/// Foo
)]
#[derive(Error)]
pub struct Foo1; Close now. |
Minimal example:
Cargo.toml:
lib.rs:
The text was updated successfully, but these errors were encountered: