|
4 | 4 | // cdb-command: g
|
5 | 5 |
|
6 | 6 | // cdb-command: dx a
|
7 |
| -// cdb-check:a : Some [Type: enum$<core::option::Option<msvc_pretty_enums::CStyleEnum> >] |
| 7 | +// cdb-check:a : Some [Type: enum2$<core::option::Option<msvc_pretty_enums::CStyleEnum> >] |
8 | 8 | // cdb-check: [+0x000] __0 : Low (0x2) [Type: msvc_pretty_enums::CStyleEnum]
|
9 | 9 |
|
10 | 10 | // cdb-command: dx b
|
11 |
| -// cdb-check:b : None [Type: enum$<core::option::Option<msvc_pretty_enums::CStyleEnum> >] |
| 11 | +// cdb-check:b : None [Type: enum2$<core::option::Option<msvc_pretty_enums::CStyleEnum> >] |
12 | 12 |
|
13 | 13 | // cdb-command: dx c
|
14 |
| -// cdb-check:c : Tag1 [Type: enum$<msvc_pretty_enums::NicheLayoutEnum>] |
| 14 | +// cdb-check:c : Tag1 [Type: enum2$<msvc_pretty_enums::NicheLayoutEnum>] |
15 | 15 |
|
16 | 16 | // cdb-command: dx d
|
17 |
| -// cdb-check:d : Data [Type: enum$<msvc_pretty_enums::NicheLayoutEnum>] |
| 17 | +// cdb-check:d : Data [Type: enum2$<msvc_pretty_enums::NicheLayoutEnum>] |
18 | 18 | // cdb-check: [+0x000] my_data : High (0x10) [Type: msvc_pretty_enums::CStyleEnum]
|
19 | 19 |
|
20 | 20 | // cdb-command: dx e
|
21 |
| -// cdb-check:e : Tag2 [Type: enum$<msvc_pretty_enums::NicheLayoutEnum>] |
| 21 | +// cdb-check:e : Tag2 [Type: enum2$<msvc_pretty_enums::NicheLayoutEnum>] |
22 | 22 |
|
23 | 23 | // cdb-command: dx f
|
24 |
| -// cdb-check:f : Some [Type: enum$<core::option::Option<ref$<u32> > >] |
| 24 | +// cdb-check:f : Some [Type: enum2$<core::option::Option<ref$<u32> > >] |
25 | 25 | // cdb-check: [+0x000] __0 : 0x[...] : 0x1 [Type: unsigned int *]
|
26 | 26 |
|
27 | 27 | // cdb-command: dx g
|
28 |
| -// cdb-check:g : None [Type: enum$<core::option::Option<ref$<u32> > >] |
| 28 | +// cdb-check:g : None [Type: enum2$<core::option::Option<ref$<u32> > >] |
29 | 29 |
|
30 | 30 | // cdb-command: dx h
|
31 |
| -// cdb-check:h : Some [Type: enum$<core::option::Option<u32> >] |
| 31 | +// cdb-check:h : Some [Type: enum2$<core::option::Option<u32> >] |
32 | 32 | // cdb-check: [+0x004] __0 : 0xc [Type: unsigned int]
|
33 | 33 |
|
34 | 34 | // cdb-command: dx i
|
35 |
| -// cdb-check:i : None [Type: enum$<core::option::Option<u32> >] |
| 35 | +// cdb-check:i : None [Type: enum2$<core::option::Option<u32> >] |
36 | 36 |
|
37 | 37 | // cdb-command: dx j
|
38 | 38 | // cdb-check:j : High (0x10) [Type: msvc_pretty_enums::CStyleEnum]
|
39 | 39 |
|
40 | 40 | // cdb-command: dx k
|
41 |
| -// cdb-check:k : Some [Type: enum$<core::option::Option<alloc::string::String> >] |
| 41 | +// cdb-check:k : Some [Type: enum2$<core::option::Option<alloc::string::String> >] |
42 | 42 | // cdb-check: [+0x000] __0 : "IAMA optional string!" [Type: alloc::string::String]
|
43 | 43 |
|
44 | 44 | // cdb-command: dx l
|
45 |
| -// cdb-check:l : Ok [Type: enum$<core::result::Result<u32,enum$<msvc_pretty_enums::Empty> > >] |
| 45 | +// cdb-check:l : Ok [Type: enum2$<core::result::Result<u32,enum2$<msvc_pretty_enums::Empty> > >] |
46 | 46 | // cdb-check: [+0x000] __0 : 0x2a [Type: unsigned int]
|
47 | 47 |
|
48 | 48 | // cdb-command: dx niche128_some
|
49 |
| -// cdb-check:niche128_some : Some [Type: enum$<core::option::Option<core::num::nonzero::NonZeroI128> >] |
| 49 | +// cdb-check: niche128_some : Some [Type: enum2$<core::option::Option<core::num::nonzero::NonZeroI128> >] |
50 | 50 | // Note: we can't actually read the value of the field because CDB cannot handle 128 bit integers.
|
51 | 51 | // cdb-check: [+0x000] __0 [...] [Type: core::num::nonzero::NonZeroI128]
|
52 | 52 |
|
53 | 53 | // cdb-command: dx niche128_none
|
54 |
| -// cdb-check: niche128_none : None [Type: enum$<core::option::Option<core::num::nonzero::NonZeroI128> >] |
| 54 | +// cdb-check: niche128_none : None [Type: enum2$<core::option::Option<core::num::nonzero::NonZeroI128> >] |
55 | 55 |
|
56 | 56 | // cdb-command: dx niche_w_fields_1_some,d
|
57 |
| -// cdb-check: niche_w_fields_1_some,d : A [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields1>] |
| 57 | +// cdb-check: niche_w_fields_1_some,d : A [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields1>] |
58 | 58 | // cdb-check: [+0x[...]] __0 : 0x[...] : 77 [Type: unsigned char *]
|
59 | 59 | // cdb-check: [+0x[...]] __1 : 7 [Type: unsigned int]
|
60 | 60 |
|
61 | 61 | // cdb-command: dx niche_w_fields_1_none,d
|
62 |
| -// cdb-check: niche_w_fields_1_none,d : B [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields1>] |
| 62 | +// cdb-check: niche_w_fields_1_none,d : B [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields1>] |
63 | 63 | // cdb-check: [+0x[...]] __0 : 99 [Type: unsigned int]
|
64 | 64 |
|
65 | 65 | // cdb-command: dx niche_w_fields_2_some,d
|
66 |
| -// cdb-check: niche_w_fields_2_some,d : A [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields2>] |
67 |
| -// cdb-check: [<Raw View>] [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields2>] |
| 66 | +// cdb-check: niche_w_fields_2_some,d : A [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields2>] |
68 | 67 | // cdb-check: [+0x[...]] __0 : 800 [Type: core::num::nonzero::NonZeroU32]
|
69 | 68 | // cdb-check: [+0x[...]] __1 : 900 [Type: unsigned __int64]
|
70 | 69 |
|
71 | 70 | // cdb-command: dx niche_w_fields_2_none,d
|
72 |
| -// cdb-check: niche_w_fields_2_none,d : B [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields2>] |
| 71 | +// cdb-check: niche_w_fields_2_none,d : B [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields2>] |
73 | 72 | // cdb-check: [+0x[...]] __0 : 1000 [Type: unsigned __int64]
|
74 | 73 |
|
75 | 74 | // cdb-command: dx niche_w_fields_3_some,d
|
76 |
| -// cdb-check: niche_w_fields_3_some,d : A [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields3>] |
| 75 | +// cdb-check: niche_w_fields_3_some,d : A [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields3>] |
77 | 76 | // cdb-check: [+0x[...]] __0 : 137 [Type: unsigned char]
|
78 | 77 | // cdb-check: [+0x[...]] __1 : true [Type: bool]
|
79 | 78 |
|
80 | 79 | // cdb-command: dx niche_w_fields_3_niche1,d
|
81 |
| -// cdb-check: niche_w_fields_3_niche1,d : B [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields3>] |
| 80 | +// cdb-check: niche_w_fields_3_niche1,d : B [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields3>] |
82 | 81 | // cdb-check: [+0x[...]] __0 : 12 [Type: unsigned char]
|
83 | 82 |
|
84 | 83 | // cdb-command: dx niche_w_fields_3_niche2,d
|
85 |
| -// cdb-check: niche_w_fields_3_niche2,d : C [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields3>] |
| 84 | +// cdb-check: niche_w_fields_3_niche2,d : C [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields3>] |
86 | 85 | // cdb-check: [+0x[...]] __0 : false [Type: bool]
|
87 | 86 |
|
88 | 87 | // cdb-command: dx niche_w_fields_3_niche3,d
|
89 |
| -// cdb-check: niche_w_fields_3_niche3,d : D [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields3>] |
| 88 | +// cdb-check: niche_w_fields_3_niche3,d : D [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields3>] |
90 | 89 | // cdb-check: [+0x[...]] __0 : 34 [Type: unsigned char]
|
91 | 90 |
|
92 | 91 | // cdb-command: dx niche_w_fields_3_niche4,d
|
93 |
| -// cdb-check: niche_w_fields_3_niche4,d : E [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields3>] |
| 92 | +// cdb-check: niche_w_fields_3_niche4,d : E [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields3>] |
94 | 93 | // cdb-check: [+0x[...]] __0 : 56 [Type: unsigned char]
|
95 | 94 |
|
96 | 95 | // cdb-command: dx niche_w_fields_3_niche5,d
|
97 |
| -// cdb-check: niche_w_fields_3_niche5,d : F [Type: enum$<msvc_pretty_enums::NicheLayoutWithFields3>] |
| 96 | +// cdb-check: niche_w_fields_3_niche5,d : F [Type: enum2$<msvc_pretty_enums::NicheLayoutWithFields3>] |
98 | 97 |
|
99 | 98 | // cdb-command: dx -r3 niche_w_fields_std_result_ok,d
|
100 |
| -// cdb-check: niche_w_fields_std_result_ok,d : Ok [Type: enum$<core::result::Result<alloc::boxed::Box<slice$<u8>,alloc::alloc::Global>,u64> >] |
| 99 | +// cdb-check: niche_w_fields_std_result_ok,d : Ok [Type: enum2$<core::result::Result<alloc::boxed::Box<slice$<u8>,alloc::alloc::Global>,u64> >] |
101 | 100 | // cdb-check: [+0x[...]] __0 [Type: alloc::boxed::Box<slice$<u8>,alloc::alloc::Global>]
|
102 | 101 | // cdb-check: [+0x[...]] data_ptr : [...]
|
103 | 102 | // cdb-check: [+0x[...]] length : 3 [...]
|
104 | 103 |
|
105 | 104 | // cdb-command: dx -r3 niche_w_fields_std_result_err,d
|
106 |
| -// cdb-check: niche_w_fields_std_result_err,d : Err [Type: enum$<core::result::Result<alloc::boxed::Box<slice$<u8>,alloc::alloc::Global>,u64> >] |
| 105 | +// cdb-check: niche_w_fields_std_result_err,d : Err [Type: enum2$<core::result::Result<alloc::boxed::Box<slice$<u8>,alloc::alloc::Global>,u64> >] |
107 | 106 | // cdb-check: [+0x[...]] __0 : 789 [Type: unsigned __int64]
|
108 | 107 |
|
109 | 108 | use std::num::{NonZeroI128, NonZeroU32};
|
|
0 commit comments