Skip to content

Commit a600410

Browse files
committed
Fix debuginfo test for Vec
1 parent 8c78e97 commit a600410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/debuginfo/pretty-std.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// gdb-check:$1 = &[i32](len: 4) = {0, 1, 2, 3}
1414

1515
// gdb-command: print vec
16-
// gdb-check:$2 = Vec<u64>(len: 4, cap: [...]) = {4, 5, 6, 7}
16+
// gdb-check:$2 = Vec<u64, alloc::alloc::Global>(len: 4, cap: [...]) = {4, 5, 6, 7}
1717

1818
// gdb-command: print str_slice
1919
// gdb-check:$3 = "IAMA string slice!"
@@ -74,7 +74,7 @@
7474
// NOTE: While slices have a .natvis entry that works in VS & VS Code, it fails in CDB 10.0.18362.1
7575

7676
// cdb-command: dx vec,d
77-
// cdb-check:vec,d [...] : { size=4 } [Type: [...]::Vec<u64>]
77+
// cdb-check:vec,d [...] : { size=4 } [Type: [...]::Vec<u64, alloc::alloc::Global>]
7878
// cdb-check: [size] : 4 [Type: [...]]
7979
// cdb-check: [capacity] : [...] [Type: [...]]
8080
// cdb-check: [0] : 4 [Type: unsigned __int64]

0 commit comments

Comments
 (0)