]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/retslot-cast.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / retslot-cast.stderr
index 9b5f11ce667653d0df23ec2733183e73d536bfca..798ce1199a9dc24ac41b70f26fc13f00c5f85b43 100644 (file)
@@ -1,6 +1,9 @@
 error[E0308]: mismatched types
   --> $DIR/retslot-cast.rs:13:5
    |
+LL |             -> Option<&Iterator<Item=()>> {
+   |                -------------------------- expected `Option<&dyn Iterator<Item = ()>>` because of return type
+...
 LL |     inner(x)
    |     ^^^^^^^^ expected trait `Iterator<Item = ()>`, found trait `Iterator<Item = ()> + Send`
    |