Skip to content

Commit c773226

Browse files
committed
tests: add regression test for #74745
This commit adds a regression test for #74745. While a `ignore-tidy-trailing-lines` header is required, this doesn't stop the test from reproducing, so long as there is no newline at the end of the file. However, adding the header comments made the test fail due to a bug in pprust, fixed in the previous commit. Signed-off-by: David Wood <[email protected]>
1 parent 86f80d3 commit c773226

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/pretty/issue-74745.rs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// ignore-tidy-trailing-newlines
2+
// pretty-compare-only
3+
4+
/*
5+
*/

0 commit comments

Comments
 (0)