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 <david@davidtw.co>
This commit is contained in:
parent
86f80d3ba8
commit
c773226aba
1 changed files with 5 additions and 0 deletions
5
src/test/pretty/issue-74745.rs
Normal file
5
src/test/pretty/issue-74745.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
// ignore-tidy-trailing-newlines
|
||||
// pretty-compare-only
|
||||
|
||||
/*
|
||||
*/
|
Loading…
Add table
Reference in a new issue