use parity_scale_codec::{Encode, MaxEncodedLen}; #[derive(Encode)] struct NotMel; #[derive(Encode, MaxEncodedLen)] struct Generic { t: T, } fn main() { let _ = Generic::::max_encoded_len(); }