Forbid stray tokens in call index (#13036)
* Check for call_index * fixes * pallet ui test for weight attribute * Update frame/support/procedural/src/pallet/parse/call.rs Co-authored-by:Bastian Köcher <git@kchr.de> * fix * small fix * wrong return type * ... * . * final fix * update .stderr * commit * udpate * Update frame/support/procedural/src/pallet/parse/call.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * update .stderr Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- substrate/frame/support/procedural/src/pallet/parse/call.rs 4 additions, 0 deletionssubstrate/frame/support/procedural/src/pallet/parse/call.rs
- substrate/frame/support/test/tests/pallet_ui/call_index_has_suffix.rs 20 additions, 0 deletions...ame/support/test/tests/pallet_ui/call_index_has_suffix.rs
- substrate/frame/support/test/tests/pallet_ui/call_index_has_suffix.stderr 5 additions, 0 deletions...support/test/tests/pallet_ui/call_index_has_suffix.stderr
- substrate/frame/support/test/tests/pallet_ui/weight_argument_has_suffix.rs 21 additions, 0 deletions...upport/test/tests/pallet_ui/weight_argument_has_suffix.rs
- substrate/frame/support/test/tests/pallet_ui/weight_argument_has_suffix.stderr 41 additions, 0 deletions...rt/test/tests/pallet_ui/weight_argument_has_suffix.stderr
Loading
Please register or sign in to comment