Skip to content

Commit 34f6d24

Browse files
committed
Update debuginfo test output to describe new structure of Rc/Arc
1 parent 215cf36 commit 34f6d24

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

tests/debuginfo/rc_arc.rs

+12-12
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,37 @@
2727
// cdb-command:g
2828

2929
// cdb-command:dx rc,d
30-
// cdb-check:rc,d : 111 [Type: alloc::rc::Rc<i32>]
30+
// cdb-check:rc,d : 111 [Type: alloc::rc::Rc<i32,alloc::alloc::Global>]
3131
// cdb-check: [Reference count] : 11 [Type: core::cell::Cell<usize>]
3232
// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>]
3333

3434
// cdb-command:dx weak_rc,d
35-
// cdb-check:weak_rc,d : 111 [Type: alloc::rc::Weak<i32>]
35+
// cdb-check:weak_rc,d : 111 [Type: alloc::rc::Weak<i32,alloc::alloc::Global>]
3636
// cdb-check: [Reference count] : 11 [Type: core::cell::Cell<usize>]
3737
// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>]
3838

3939
// cdb-command:dx arc,d
40-
// cdb-check:arc,d : 222 [Type: alloc::sync::Arc<i32>]
40+
// cdb-check:arc,d : 222 [Type: alloc::sync::Arc<i32,alloc::alloc::Global>]
4141
// cdb-check: [Reference count] : 21 [Type: core::sync::atomic::AtomicUsize]
4242
// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize]
4343

4444
// cdb-command:dx weak_arc,d
45-
// cdb-check:weak_arc,d : 222 [Type: alloc::sync::Weak<i32>]
45+
// cdb-check:weak_arc,d : 222 [Type: alloc::sync::Weak<i32,alloc::alloc::Global>]
4646
// cdb-check: [Reference count] : 21 [Type: core::sync::atomic::AtomicUsize]
4747
// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize]
4848

4949
// cdb-command:dx dyn_rc,d
50-
// cdb-check:dyn_rc,d [Type: alloc::rc::Rc<dyn$<core::fmt::Debug> >]
50+
// cdb-check:dyn_rc,d [Type: alloc::rc::Rc<dyn$<core::fmt::Debug>,alloc::alloc::Global>]
5151
// cdb-check: [Reference count] : 31 [Type: core::cell::Cell<usize>]
5252
// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>]
5353

5454
// cdb-command:dx dyn_rc_weak,d
55-
// cdb-check:dyn_rc_weak,d [Type: alloc::rc::Weak<dyn$<core::fmt::Debug> >]
55+
// cdb-check:dyn_rc_weak,d [Type: alloc::rc::Weak<dyn$<core::fmt::Debug>,alloc::alloc::Global>]
5656
// cdb-check: [Reference count] : 31 [Type: core::cell::Cell<usize>]
5757
// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>]
5858

5959
// cdb-command:dx slice_rc,d
60-
// cdb-check:slice_rc,d : { len=3 } [Type: alloc::rc::Rc<slice2$<u32> >]
60+
// cdb-check:slice_rc,d : { len=3 } [Type: alloc::rc::Rc<slice2$<u32>,alloc::alloc::Global>]
6161
// cdb-check: [Length] : 3 [Type: [...]]
6262
// cdb-check: [Reference count] : 41 [Type: core::cell::Cell<usize>]
6363
// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>]
@@ -66,7 +66,7 @@
6666
// cdb-check: [2] : 3 [Type: u32]
6767

6868
// cdb-command:dx slice_rc_weak,d
69-
// cdb-check:slice_rc_weak,d : { len=3 } [Type: alloc::rc::Weak<slice2$<u32> >]
69+
// cdb-check:slice_rc_weak,d : { len=3 } [Type: alloc::rc::Weak<slice2$<u32>,alloc::alloc::Global>]
7070
// cdb-check: [Length] : 3 [Type: [...]]
7171
// cdb-check: [Reference count] : 41 [Type: core::cell::Cell<usize>]
7272
// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>]
@@ -75,17 +75,17 @@
7575
// cdb-check: [2] : 3 [Type: u32]
7676

7777
// cdb-command:dx dyn_arc,d
78-
// cdb-check:dyn_arc,d [Type: alloc::sync::Arc<dyn$<core::fmt::Debug> >]
78+
// cdb-check:dyn_arc,d [Type: alloc::sync::Arc<dyn$<core::fmt::Debug>,alloc::alloc::Global>]
7979
// cdb-check: [Reference count] : 51 [Type: core::sync::atomic::AtomicUsize]
8080
// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize]
8181

8282
// cdb-command:dx dyn_arc_weak,d
83-
// cdb-check:dyn_arc_weak,d [Type: alloc::sync::Weak<dyn$<core::fmt::Debug> >]
83+
// cdb-check:dyn_arc_weak,d [Type: alloc::sync::Weak<dyn$<core::fmt::Debug>,alloc::alloc::Global>]
8484
// cdb-check: [Reference count] : 51 [Type: core::sync::atomic::AtomicUsize]
8585
// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize]
8686

8787
// cdb-command:dx slice_arc,d
88-
// cdb-check:slice_arc,d : { len=3 } [Type: alloc::sync::Arc<slice2$<u32> >]
88+
// cdb-check:slice_arc,d : { len=3 } [Type: alloc::sync::Arc<slice2$<u32>,alloc::alloc::Global>]
8989
// cdb-check: [Length] : 3 [Type: [...]]
9090
// cdb-check: [Reference count] : 61 [Type: core::sync::atomic::AtomicUsize]
9191
// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize]
@@ -94,7 +94,7 @@
9494
// cdb-check: [2] : 6 [Type: u32]
9595

9696
// cdb-command:dx slice_arc_weak,d
97-
// cdb-check:slice_arc_weak,d : { len=3 } [Type: alloc::sync::Weak<slice2$<u32> >]
97+
// cdb-check:slice_arc_weak,d : { len=3 } [Type: alloc::sync::Weak<slice2$<u32>,alloc::alloc::Global>]
9898
// cdb-check: [Length] : 3 [Type: [...]]
9999
// cdb-check: [Reference count] : 61 [Type: core::sync::atomic::AtomicUsize]
100100
// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize]

tests/debuginfo/thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//
1515
// cdb-command:dx t,d
1616
// cdb-check:t,d : [...] [Type: std::thread::Thread *]
17-
// cdb-check:[...] inner [...][Type: core::pin::Pin<alloc::sync::Arc<std::thread::Inner> >]
17+
// cdb-check:[...] inner [...][Type: core::pin::Pin<alloc::sync::Arc<std::thread::Inner>,alloc::alloc::Global>]
1818

1919
use std::thread;
2020

0 commit comments

Comments
 (0)