Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Fixes
  • Loading branch information
gavofyork committed Oct 20, 2021
commit 8802275c936eea744a284617ac401b9e0335253c
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ pub fn expand_pallet_struct(def: &mut Def) -> proc_macro2::TokenStream {
fn accumulate(
acc: &mut #frame_support::sp_std::vec::Vec<#frame_support::traits::PalletInfoData>
) {
use #frame_support::traits::PalletInfoAccess;
let item = #frame_support::traits::PalletInfoData {
index: Self::index(),
name: Self::name(),
Expand Down