diff options
| author | Jaro Fietz <jaro.fietz@gmx.de> | 2024-01-21 13:47:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-21 13:47:45 +0100 |
| commit | 98f59817c2cecbaafe47e0458e8281db51452ecd (patch) | |
| tree | 443b603f620773e16cdf4e5bc1a1b49c5b0bd71b | |
| parent | 2d1b2a9906be977d961d96f57dc67c8c9c9024f1 (diff) | |
| download | rust-98f59817c2cecbaafe47e0458e8281db51452ecd.tar.gz rust-98f59817c2cecbaafe47e0458e8281db51452ecd.zip | |
Rename function in weird-exprs.rs for clarity
| -rw-r--r-- | tests/ui/weird-exprs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/weird-exprs.rs b/tests/ui/weird-exprs.rs index ba266c36fc1..748fe13c1e4 100644 --- a/tests/ui/weird-exprs.rs +++ b/tests/ui/weird-exprs.rs @@ -238,7 +238,7 @@ fn return_already() -> impl std::fmt::Debug { } } -fn cursed_macros() -> impl std::fmt::Debug { +fn fake_macros() -> impl std::fmt::Debug { loop { if! { match! ( @@ -283,5 +283,5 @@ pub fn main() { useful_syntax(); infcx(); return_already(); - cursed_macros(); + fake_macros(); } |
