Skip to content

Commit efde431

Browse files
committed
Fix debuginfo tests(?).
1 parent 9e79eb1 commit efde431

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

tests/debuginfo/embedded-visualizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
// cdb-command: dx person
4040
// cdb-check:person : "Person A" is 10 years old. [Type: dependency_with_embedded_visualizers::Person]
4141
// cdb-check: [<Raw View>] [Type: dependency_with_embedded_visualizers::Person]
42-
// cdb-check: [name] : "Person A" [Type: alloc::string::String]
42+
// cdb-check: [name] : "Person A" [Type: alloc::string::string::String<alloc::alloc::Global>]
4343
// cdb-check: [age] : 10 [Type: int]
4444

4545
// === GDB TESTS ===================================================================================

tests/debuginfo/marker-types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
// cdb-check: [<Raw View>] [Type: core::mem::manually_drop::ManuallyDrop<i32>]
1616

1717
// cdb-command: dx pin
18-
// cdb-check:pin : Pin(0x[...]: "this") [Type: core::pin::Pin<ref_mut$<alloc::string::String> >]
19-
// cdb-check: [<Raw View>] [Type: core::pin::Pin<ref_mut$<alloc::string::String> >]
18+
// cdb-check:pin : Pin(0x[...]: "this") [Type: core::pin::Pin<ref_mut$<alloc::string::string::String<alloc::alloc::Global> > >]
19+
// cdb-check: [<Raw View>] [Type: core::pin::Pin<ref_mut$<alloc::string::string::String<alloc::alloc::Global> > >]
2020
// cdb-check: [len] : 0x4 [Type: unsigned [...]]
2121
// cdb-check: [capacity] : 0x4 [Type: unsigned [...]]
2222
// cdb-check: [chars] : "this"

tests/debuginfo/msvc-pretty-enums.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@
112112
// cdb-check:j : High (0x10) [Type: msvc_pretty_enums::CStyleEnum]
113113
//
114114
// cdb-command: dx k
115-
// cdb-check:k : Some [Type: enum2$<core::option::Option<alloc::string::String> >]
116-
// cdb-check: [+0x000] __0 : "IAMA optional string!" [Type: alloc::string::String]
117-
//
115+
// cdb-check:k : Some [Type: enum2$<core::option::Option<alloc::string::string::String<alloc::alloc::Global> > >]
116+
// cdb-check: [+0x000] __0 : "IAMA optional string!" [Type: alloc::string::string::String<alloc::alloc::Global>]
117+
118118
// cdb-command: dx l
119119
// cdb-check:l : Ok [Type: enum2$<core::result::Result<u32,enum2$<msvc_pretty_enums::Empty> > >]
120120
// cdb-check: [+0x000] __0 : 0x2a [Type: unsigned int]

tests/debuginfo/pretty-std.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@
123123
// cdb-check: [<Raw View>] [Type: enum2$<core::option::Option<i64> >]
124124

125125
// cdb-command: dx some_string
126-
// cdb-check:some_string : Some [Type: enum2$<core::option::Option<alloc::string::String> >]
127-
// cdb-check: [<Raw View>] [Type: enum2$<core::option::Option<alloc::string::String> >]
128-
// cdb-check: [+0x000] __0 : "IAMA optional string!" [Type: alloc::string::String]
126+
// cdb-check:some_string : Some [Type: enum2$<core::option::Option<alloc::string::string::String<alloc::alloc::Global> > >]
127+
// cdb-check: [<Raw View>] [Type: enum2$<core::option::Option<alloc::string::string::String<alloc::alloc::Global> > >]
128+
// cdb-check: [+0x000] __0 : "IAMA optional string!" [Type: alloc::string::string::String<alloc::alloc::Global>]
129129

130130
// cdb-command: dx linkedlist
131131
// cdb-check:linkedlist : { len=0x2 } [Type: alloc::collections::linked_list::LinkedList<i32,alloc::alloc::Global>]

0 commit comments

Comments
 (0)