Skip to content

Commit 94f3dcf

Browse files
committed
Update cdb annotations for range-types.rs with cdb 10.0.26100.2161
1 parent 1503279 commit 94f3dcf

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

Diff for: tests/debuginfo/range-types.rs

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Testing the display of range types in cdb.
22

3-
// cdb-only
4-
//@ min-cdb-version: 10.0.18317.1001
3+
//@ only-cdb
4+
5+
// FIXME(jieyouxu): triple check in CI if the directive actually works
6+
//@ min-cdb-version: 10.0.26100.2161
7+
58
//@ compile-flags:-g
69

710
// === CDB TESTS ==================================================================================
@@ -10,23 +13,26 @@
1013

1114
// cdb-command: dx r1,d
1215
// cdb-check:r1,d : (3..5) [Type: core::ops::range::Range<i32>]
13-
// cdb-check: [<Raw View>] [Type: core::ops::range::Range<i32>]
16+
// cdb-check: [+0x000] start : 3 [Type: int]
17+
// cdb-check: [+0x004] end : 5 [Type: int]
1418

1519
// cdb-command: dx r2,d
1620
// cdb-check:r2,d : (2..) [Type: core::ops::range::RangeFrom<i32>]
17-
// cdb-check: [<Raw View>] [Type: core::ops::range::RangeFrom<i32>]
21+
// cdb-check: [+0x000] start : 2 [Type: int]
1822

1923
// cdb-command: dx r3,d
2024
// cdb-check:r3,d : (1..=4) [Type: core::ops::range::RangeInclusive<i32>]
21-
// cdb-check: [<Raw View>] [Type: core::ops::range::RangeInclusive<i32>]
25+
// cdb-check: [+0x000] start : 1 [Type: int]
26+
// cdb-check: [+0x004] end : 4 [Type: int]
27+
// cdb-check: [+0x008] exhausted : false [Type: bool]
2228

2329
// cdb-command: dx r4,d
2430
// cdb-check:r4,d : (..10) [Type: core::ops::range::RangeTo<i32>]
25-
// cdb-check: [<Raw View>] [Type: core::ops::range::RangeTo<i32>]
31+
// cdb-check: [+0x000] end : 10 [Type: int]
2632

2733
// cdb-command: dx r5,d
2834
// cdb-check:r5,d : (..=3) [Type: core::ops::range::RangeToInclusive<i32>]
29-
// cdb-check: [<Raw View>] [Type: core::ops::range::RangeToInclusive<i32>]
35+
// cdb-check: [+0x000] end : 3 [Type: int]
3036

3137
// cdb-command: dx r6,d
3238
// cdb-check:r6,d [Type: core::ops::range::RangeFull]

0 commit comments

Comments
 (0)