]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-33941.stderr
Rollup merge of #100857 - camsteffen:query-parse-refactor, r=davidtwco
[rust.git] / src / test / ui / issues / issue-33941.stderr
index caba0ad52689e10f1b33936409e8bfb919a5ea4f..691b8f88f4ed54c87d6e65b5f9c1614d81e73a34 100644 (file)
@@ -1,8 +1,10 @@
 error[E0271]: expected `std::collections::hash_map::Iter<'_, _, _>` to be an iterator that yields `&_`, but it yields `(&_, &_)`
-  --> $DIR/issue-33941.rs:6:36
+  --> $DIR/issue-33941.rs:6:14
    |
 LL |     for _ in HashMap::new().iter().cloned() {}
-   |                                    ^^^^^^ expected reference, found tuple
+   |              ^^^^^^^^^^^^^^^^^^^^^ ------ required by a bound introduced by this call
+   |              |
+   |              expected reference, found tuple
    |
    = note: expected reference `&_`
                   found tuple `(&_, &_)`