diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-01-05 03:02:10 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-01-05 03:02:10 +0000 |
| commit | 5393c6bbd172bb87b49033e755f538228b14440b (patch) | |
| tree | 99d68c24e483198ab63cee61f921366fe581c4f4 /src/test/ui/alloc-error | |
| parent | b7cdb635c4b973572307ad288466fba64533369c (diff) | |
| download | rust-5393c6bbd172bb87b49033e755f538228b14440b.tar.gz rust-5393c6bbd172bb87b49033e755f538228b14440b.zip | |
Tweak wording of fn call with wrong number of args
Diffstat (limited to 'src/test/ui/alloc-error')
| -rw-r--r-- | src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs index 8430fabe84d..ea9ad39a70d 100644 --- a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs +++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs @@ -7,7 +7,7 @@ struct Layout; #[alloc_error_handler] -fn oom() -> ! { //~ ERROR this function takes 0 arguments but 1 argument was supplied +fn oom() -> ! { //~ ERROR function takes 0 arguments but 1 argument was supplied loop {} } |
