]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/if/if-typeck.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / if / if-typeck.stderr
index 714d3ebcdb01695bdfd65a8ddf36aaf4f9143c86..74ed0ed0ae6bded4ff517c787ea0f13d3c397db1 100644 (file)
@@ -2,10 +2,10 @@ error[E0308]: mismatched types
   --> $DIR/if-typeck.rs:9:8
    |
 LL |     if f { }
-   |        ^ expected bool, found fn item
+   |        ^ expected `bool`, found fn item
    |
    = note: expected type `bool`
-              found type `fn() {f}`
+           found fn item `fn() {f}`
 
 error: aborting due to previous error