mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-28 21:39:56 +00:00
Allow additional trait bounds for #[pallet::constant] (#9050)
* Allow additional trait bounds for constants * Add ui test for constants with additional trait bounds * Update trait constant ui test * Import syn::Error * Use reference instead of cloning * Add extra invalid bound ui test * Out or order valid bounds * Fix ui test * Fix ui test * Apply review suggestion about error message
This commit is contained in:
1 parent
945bf4f2c1
commit
02930e098b
6 files changed
+96
-30
No files matched your search
@@ -23,4 +23,5 @@ fn pallet_ui() {
|
||||
|
||||
let t = trybuild::TestCases::new();
|
||||
t.compile_fail("tests/pallet_ui/*.rs");
|
||||
t.pass("tests/pallet_ui/pass/*.rs");
|
||||
}
|
||||
Reference in new issue
Block a user