about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-11 18:22:33 +1000
committerGitHub <noreply@github.com>2025-08-11 18:22:33 +1000
commit3ce0ee2555bb34c9dc51f0b4afc6a9dba61b26df (patch)
treea4d912d530d723b200bd60203968fb2c023f2141 /compiler
parentad14de2375fd94d44ec19930f44f12d7d042e8b4 (diff)
parent0885f660a5bc4b31d0f7a869be589d81c08eecda (diff)
downloadrust-3ce0ee2555bb34c9dc51f0b4afc6a9dba61b26df.tar.gz
rust-3ce0ee2555bb34c9dc51f0b4afc6a9dba61b26df.zip
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.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions