1 // SPDX-FileCopyrightText: 2020 Robin Krahl <robin.krahl@ireas.org> 2 // SPDX-License-Identifier: Apache-2.0 or MIT 3 4 use merge::Merge; 5 6 #[derive(Merge)] 7 struct S { 8 #[merge(strategy)] 9 field1: u8, 10 } 11 main()12 fn main() {} 13