]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr
Auto merge of #104160 - Ayush1325:windows-args, r=m-ou-se
[rust.git] / src / test / ui / alloc-error / alloc-error-handler-bad-signature-2.stderr
index 5777279855d9768b9d05555b3405d00b6a1d2fd8..adb652fe61659bcf94a699b7dc6b427980a81cd8 100644 (file)
@@ -4,14 +4,12 @@ error[E0308]: mismatched types
 LL |    #[alloc_error_handler]
    |    ---------------------- in this procedural macro expansion
 LL |    fn oom(
-   |   _^
-   |  |_|
+   |  __^
+   | _|
    | ||
 LL | ||     info: Layout,
 LL | || ) {
-   | || -
-   | ||_|
-   | |  arguments to this function are incorrect
+   | ||_- arguments to this function are incorrect
 LL | |      loop {}
 LL | |  }
    | |__^ expected struct `Layout`, found struct `core::alloc::Layout`
@@ -42,14 +40,12 @@ error[E0308]: mismatched types
 LL |    #[alloc_error_handler]
    |    ---------------------- in this procedural macro expansion
 LL |    fn oom(
-   |   _^
-   |  |_|
+   |  __^
+   | _|
    | ||
 LL | ||     info: Layout,
 LL | || ) {
-   | || ^
-   | ||_|
-   | |  expected `!`, found `()`
+   | ||_^ expected `!`, found `()`
 LL | |      loop {}
 LL | |  }
    | |__- expected `!` because of return type