Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
".git/.scripts/commands/fmt/fmt.sh"
  • Loading branch information
command-bot committed Mar 30, 2023
commit 38531297efdfbc52b81e142eb0c85f801019260c
6 changes: 5 additions & 1 deletion frame/support/procedural/src/construct_runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,11 @@ fn check_pallet_number(input: TokenStream2, pallet_num: usize) -> Result<()> {
"{} To increase this limit, enable the tuples-{} feature of [frame_support]. {}",
"The number of pallets exceeds the maximum number of tuple elements.",
max_pallet_num + 32,
if no_feature { "If the feature does not exist - it needs to be implemented." } else { "" },
if no_feature {
"If the feature does not exist - it needs to be implemented."
} else {
""
},
),
))
}
Expand Down