mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
allow where clause in decl_error (#7324)
This commit is contained in:
committed by
GitHub
parent
8503cc0892
commit
1164ced041
@@ -81,6 +81,13 @@ mod module1 {
|
||||
}
|
||||
}
|
||||
|
||||
frame_support::decl_error! {
|
||||
pub enum Error for Module<T: Trait<I>, I: Instance> where T::BlockNumber: From<u32> {
|
||||
/// Test
|
||||
Test,
|
||||
}
|
||||
}
|
||||
|
||||
frame_support::decl_event! {
|
||||
pub enum Event<T, I> where Phantom = std::marker::PhantomData<T> {
|
||||
_Phantom(Phantom),
|
||||
|
||||
Reference in New Issue
Block a user