mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 22:27:56 +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:
@@ -297,8 +297,9 @@ pub mod v4 {
|
||||
target: TARGET,
|
||||
"Did not clean up any agendas. v4::CleanupAgendas can be removed."
|
||||
),
|
||||
Some(n) =>
|
||||
log::info!(target: TARGET, "Cleaned up {} agendas, now {}", n, new_agendas),
|
||||
Some(n) => {
|
||||
log::info!(target: TARGET, "Cleaned up {} agendas, now {}", n, new_agendas)
|
||||
},
|
||||
None => unreachable!(
|
||||
"Number of agendas cannot increase, old {} new {}",
|
||||
old_agendas, new_agendas
|
||||
@@ -560,8 +561,9 @@ mod test {
|
||||
"Agenda {} should be removed",
|
||||
i
|
||||
),
|
||||
Some(new) =>
|
||||
assert_eq!(Agenda::<Test>::get(i as u64), new, "Agenda wrong {}", i),
|
||||
Some(new) => {
|
||||
assert_eq!(Agenda::<Test>::get(i as u64), new, "Agenda wrong {}", i)
|
||||
},
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user