diff options
Diffstat (limited to 'src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs')
-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 321fd954d..8430fabe8 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 function should have one argument +fn oom() -> ! { //~ ERROR this function takes 0 arguments but 1 argument was supplied loop {} } |