Skip to content

Commit 16c84f9

Browse files
committed
Fix backtrace/line-tables-only.rs test
The content of the baz function has always been on line 5, not line 15. Presumably it previously accidentally worked as the call in the foo function is on line 15, but now it likely tail calls to bar.
1 parent 4627bff commit 16c84f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/backtrace/line-tables-only.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ fn main() {
5050
assert_contains(&backtrace, "foo", "line-tables-only-helper.rs", 5);
5151
}
5252
assert_contains(&backtrace, "bar", "line-tables-only-helper.rs", 10);
53-
assert_contains(&backtrace, "baz", "line-tables-only-helper.rs", 15);
53+
assert_contains(&backtrace, "baz", "line-tables-only-helper.rs", 5);
5454
}

0 commit comments

Comments
 (0)