]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/struct-literal-restrictions-in-lamda.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / struct-literal-restrictions-in-lamda.stderr
index 38f4a986e12d4d8ab29a0a1e63ac1ddf8943eab2..d12ea0b2fcb9a2a584ddf4a5db101b07f566a61e 100644 (file)
@@ -21,10 +21,10 @@ LL |       while || Foo {
    |  ___________^
 LL | |         x: 3
 LL | |     }.hi() {
-   | |__________^ expected bool, found closure
+   | |__________^ expected `bool`, found closure
    |
    = note: expected type `bool`
-              found type `[closure@$DIR/struct-literal-restrictions-in-lamda.rs:12:11: 14:11]`
+           found closure `[closure@$DIR/struct-literal-restrictions-in-lamda.rs:12:11: 14:11]`
 
 error: aborting due to 2 previous errors