]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/retslot-cast.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / retslot-cast.stderr
index a1169910ae7e2acafeff6ecaf45ecf7ad40f4f8a..cdef304cdc85f42b179d6583f406010437bd822f 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 LL |     inner(x)
    |     ^^^^^^^^ expected trait `std::iter::Iterator<Item = ()>`, found trait `std::iter::Iterator<Item = ()> + std::marker::Send`
    |
-   = note: expected type `std::option::Option<&dyn std::iter::Iterator<Item = ()>>`
-              found type `std::option::Option<&dyn std::iter::Iterator<Item = ()> + std::marker::Send>`
+   = note: expected enum `std::option::Option<&dyn std::iter::Iterator<Item = ()>>`
+              found enum `std::option::Option<&dyn std::iter::Iterator<Item = ()> + std::marker::Send>`
 
 error: aborting due to previous error