mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
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
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…
Reference in New Issue
Block a user