mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-21 12:20:36 +00:00
Fix macro infinite recursion test to not trigger warning about semicolon in expr The test cases for rust-lang/rust#41731 are about infinite macro recursion that incorporates `print!` and `println!`. However, they also included trailing semicolons despite expanding to expressions; that isn't what these particular test cases are designed to test. Eliminate the trailing semicolons, to simplify future work on removing this special case. Every *other* macro that expands to a semicolon in an expression is a test case for that specifically.