]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/for/for-loop-bogosity.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / for / for-loop-bogosity.stderr
index 0d9409626897fb35ba12899221f743195f9e6529..288243325c48c412064798a85a89becb012a869c 100644 (file)
@@ -6,7 +6,11 @@ LL |     for x in bogus {
    |
    = help: the trait `Iterator` is not implemented for `MyStruct`
    = note: required because of the requirements on the impl of `IntoIterator` for `MyStruct`
-   = note: required by `into_iter`
+note: required by `into_iter`
+  --> $SRC_DIR/core/src/iter/traits/collect.rs:LL:COL
+   |
+LL |     fn into_iter(self) -> Self::IntoIter;
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error