diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2025-08-10 14:04:07 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2025-08-10 14:08:18 -0700 |
| commit | 0885f660a5bc4b31d0f7a869be589d81c08eecda (patch) | |
| tree | 2da977c3e280dd2bed4dd8636e52f31fecdeb658 /compiler/rustc_attr_parsing/src/attributes/confusables.rs | |
| parent | ca77504943887037504c7fc0b9bf06dab3910373 (diff) | |
| download | rust-0885f660a5bc4b31d0f7a869be589d81c08eecda.tar.gz rust-0885f660a5bc4b31d0f7a869be589d81c08eecda.zip | |
Fix macro infinite recursion test to not trigger warning about semicolon in expr
The test cases for issue 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/rustc_attr_parsing/src/attributes/confusables.rs')
0 files changed, 0 insertions, 0 deletions
