mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 03:27:58 +00:00
Fix tx-payment integrity-test (#6633)
* Fix tx-payment integrity-test * Better error message. * Apply suggestions from code review Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Fix line width * Apply suggestions from code review Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> * Fix grumble Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
This commit is contained in:
@@ -1302,6 +1302,7 @@ macro_rules! decl_module {
|
||||
$(#[doc = $doc_attr:tt])*
|
||||
fn integrity_test() { $( $impl:tt )* }
|
||||
) => {
|
||||
#[cfg(feature = "std")]
|
||||
impl<$trait_instance: $trait_name$(<I>, $instance: $instantiable)?>
|
||||
$crate::traits::IntegrityTest
|
||||
for $module<$trait_instance$(, $instance)?> where $( $other_where_bounds )*
|
||||
@@ -1317,6 +1318,7 @@ macro_rules! decl_module {
|
||||
$module:ident<$trait_instance:ident: $trait_name:ident$(<I>, $instance:ident: $instantiable:path)?>;
|
||||
{ $( $other_where_bounds:tt )* }
|
||||
) => {
|
||||
#[cfg(feature = "std")]
|
||||
impl<$trait_instance: $trait_name$(<I>, $instance: $instantiable)?>
|
||||
$crate::traits::IntegrityTest
|
||||
for $module<$trait_instance$(, $instance)?> where $( $other_where_bounds )*
|
||||
|
||||
Reference in New Issue
Block a user