mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 22:21:07 +00:00
Globally upgrade to syn 2.x and latest quote and proc_macro2 1x versions (#13846)
* globally upgrade quote to latest 1.0.x (1.0.26) * globally upgrade syn to final 1.0.x version (1.0.109) * globally upgrade proc-macro2 to 1.0.56 * upgrade to syn v2.0.13 and fix everything except NestedMeta * fix parse nested metadata code in decl_runtime_apis.rs * Port more stuff to syn 2.0 * Make the rest compile * Ignore error * update to syn 2.0.14 --------- Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -187,12 +187,14 @@ impl fmt::Debug for StateDbError {
|
||||
"Incompatible pruning modes [stored: {:?}; requested: {:?}]",
|
||||
stored, requested
|
||||
),
|
||||
Self::TooManySiblingBlocks { number } =>
|
||||
write!(f, "Too many sibling blocks at #{number} inserted"),
|
||||
Self::TooManySiblingBlocks { number } => {
|
||||
write!(f, "Too many sibling blocks at #{number} inserted")
|
||||
},
|
||||
Self::BlockAlreadyExists => write!(f, "Block already exists"),
|
||||
Self::Metadata(message) => write!(f, "Invalid metadata: {}", message),
|
||||
Self::BlockUnavailable =>
|
||||
write!(f, "Trying to get a block record from db while it is not commit to db yet"),
|
||||
Self::BlockUnavailable => {
|
||||
write!(f, "Trying to get a block record from db while it is not commit to db yet")
|
||||
},
|
||||
Self::BlockMissing => write!(f, "Block record is missing from the pruning window"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user