update `genesis_config` related docs and tests and error messages (#1642)
Follow-up to https://github.com/paritytech/substrate/pull/14306. I hope this also showcases the important message of: **It is really not that hard to make the examples codes in rust-docs compile, and therefore remain correct. Please embrace this :)** It moves the documentation of proc macros to their re-export, such that can link other items in frame-support. This is a patter that we should embrace for all of macro docs, and apply in PRs like https://github.com/paritytech/substrate/pull/13987 as well. --------- Co-authored-by:Gonçalo Pestana <g6pestana@gmail.com> Co-authored-by:
joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: command-bot <>
parent
fb0fd3e6
Showing
- substrate/frame/support/procedural/src/lib.rs 0 additions, 46 deletionssubstrate/frame/support/procedural/src/lib.rs
- substrate/frame/support/procedural/src/pallet/expand/genesis_build.rs 1 addition, 1 deletion...ame/support/procedural/src/pallet/expand/genesis_build.rs
- substrate/frame/support/procedural/src/pallet/parse/helper.rs 1 addition, 1 deletion...trate/frame/support/procedural/src/pallet/parse/helper.rs
- substrate/frame/support/src/lib.rs 73 additions, 3 deletionssubstrate/frame/support/src/lib.rs
- substrate/frame/support/test/tests/pallet_ui/genesis_invalid_generic.stderr 1 addition, 1 deletion...pport/test/tests/pallet_ui/genesis_invalid_generic.stderr
Please register or sign in to comment