1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#![allow(clippy::used_underscore_binding, clippy::all, warnings, missing_docs)] use former::Former; struct HashMap< T > { f1 : T, } #[ derive( Former ) ] pub struct Struct1 { f2 : HashMap< i32 >, } fn main() { }