Skip to content

Commit b4d6d78

Browse files
committed
dbg_macro: // ignore-wasm
1 parent 924a693 commit b4d6d78

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// run-pass
2+
// ignore-wasm
23

34
// Tests ensuring that `dbg!(expr)` has the expected run-time behavior.
45
// as well as some compile time properties we expect.
@@ -55,31 +56,31 @@ fn test() {
5556

5657
fn validate_stderr(stderr: Vec<String>) {
5758
assert_eq!(stderr, &[
58-
":21] Unit = Unit",
59+
":22] Unit = Unit",
5960

60-
":22] a = Unit",
61+
":23] a = Unit",
6162

62-
":28] Point{x: 42, y: 24,} = Point {",
63+
":29] Point{x: 42, y: 24,} = Point {",
6364
" x: 42,",
6465
" y: 24",
6566
"}",
6667

67-
":29] b = Point {",
68+
":30] b = Point {",
6869
" x: 42,",
6970
" y: 24",
7071
"}",
7172

72-
":38] &a = NoCopy(",
73+
":39] &a = NoCopy(",
7374
" 1337",
7475
")",
7576

76-
":38] dbg!(& a) = NoCopy(",
77+
":39] dbg!(& a) = NoCopy(",
7778
" 1337",
7879
")",
79-
":43] f(&42) = 42",
80+
":44] f(&42) = 42",
8081

8182
"before",
82-
":48] { foo += 1; eprintln!(\"before\"); 7331 } = 7331",
83+
":49] { foo += 1; eprintln!(\"before\"); 7331 } = 7331",
8384
]);
8485
}
8586

0 commit comments

Comments
 (0)