A few places in the code there is something weird with #[pallet::genesis_build] and I think a few other scenarios involving storages that causes the following error (only in rust-analyzer, but possibly in other static analyzers). As far as I know, this is the only remaining thing that rust-analyzer has an issue with after my recent overhaul of some of the pallet macros. I don't know exactly what is doing this and haven't looked into it yet, however this would be cool to fix someday because then my whole working directory for substrate would no longer have any red 😆
A few places in the code there is something weird with
#[pallet::genesis_build]
and I think a few other scenarios involving storages that causes the following error (only in rust-analyzer, but possibly in other static analyzers). As far as I know, this is the only remaining thing that rust-analyzer has an issue with after my recent overhaul of some of the pallet macros. I don't know exactly what is doing this and haven't looked into it yet, however this would be cool to fix someday because then my whole working directory for substrate would no longer have any red 😆