aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/test/src/test_files/test_pack.rs
blob: 759e35fb3fb0534b15aeeb9fc945075eb6e04b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mingling::macros::pack!(ResultPack1 = String);
mingling::macros::pack_err!(ErrorPack1);
mingling::macros::pack_err!(ErrorPack2 = PathBuf);

pack!(ResultPack2 = (u8, String));
pack_err!(ErrorPack3);
pack_err!(ErrorPack4 = PathBuf);

pub mod sub {
    mingling::macros::pack!(ResultPack1 = String);
    mingling::macros::pack_err!(ErrorPack1);
    mingling::macros::pack_err!(ErrorPack2 = PathBuf);

    pack!(ResultPack2 = (u8, String));
    pack_err!(ErrorPack3);
    pack_err!(ErrorPack4 = PathBuf);
}