frame-support: Improve error reporting when having too many pallets (#3478)
Instead of only generating the error, we now generate the actual code and the error. This generates in total less errors and helps the user to identify the actual problem and not being confronted with tons of errors.
Showing
- substrate/frame/support/procedural/src/construct_runtime/mod.rs 28 additions, 15 deletions...ate/frame/support/procedural/src/construct_runtime/mod.rs
- substrate/frame/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr 21 additions, 85 deletions...ct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr
Please register or sign in to comment