]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/for/for-c-in-str.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / for / for-c-in-str.stderr
index 18e46e1d7ded73b0320982a3b6ef3e36def7e344..7eac8c9c5a8df12fabbb531da3fe5942dfc9494e 100644 (file)
@@ -6,7 +6,11 @@ LL |     for c in "asdf" {
    |
    = help: the trait `Iterator` is not implemented for `&str`
    = note: required because of the requirements on the impl of `IntoIterator` for `&str`
-   = 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