]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/for/for-c-in-str.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / for / for-c-in-str.rs
index 86a1c1a34e93036fc5213e83faf3c3de4c1239ab..b086128d28cbc504cb6fc09af663302ba6086891 100644 (file)
@@ -5,7 +5,7 @@ fn main() {
         //~^ ERROR `&str` is not an iterator
         //~| NOTE `&str` is not an iterator
         //~| HELP the trait `Iterator` is not implemented for `&str`
-        //~| NOTE required because of the requirements on the impl of `IntoIterator` for `&str`
+        //~| NOTE required for `&str` to implement `IntoIterator`
         //~| NOTE in this expansion of desugaring of `for` loop
         //~| NOTE in this expansion of desugaring of `for` loop
         //~| NOTE in this expansion of desugaring of `for` loop