]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/alloc-error/alloc-error-handler-bad-signature-3.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / alloc-error / alloc-error-handler-bad-signature-3.stderr
index 77ea8ef052091605c5d3e9cfe9ee853d8331617b..eb739b149a1030083d4727c837f0126cf473fa09 100644 (file)
@@ -7,7 +7,7 @@ LL |   fn oom() -> ! {
    |  _-^^^^^^^^^^^^
 LL | |     loop {}
 LL | | }
-   | |_- argument of type `core::alloc::Layout` unexpected
+   | |_- unexpected argument of type `core::alloc::Layout`
    |
 note: function defined here
   --> $DIR/alloc-error-handler-bad-signature-3.rs:10:4
@@ -15,10 +15,6 @@ note: function defined here
 LL | fn oom() -> ! {
    |    ^^^
    = note: this error originates in the attribute macro `alloc_error_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
-help: remove the extra argument
-   |
-LL | fn oom() -> !() {
-   |              ++
 
 error: aborting due to previous error