Stuart Cook 3ce0ee2555
Rollup merge of #145225 - joshtriplett:infinite-print-no-semi, r=lqd
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.
2025-08-11 18:22:33 +10:00
..
2025-08-09 15:47:01 +08:00