]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-41880.stderr
Auto merge of #99028 - tmiasko:inline, r=estebank
[rust.git] / src / test / ui / issues / issue-41880.stderr
index 017dd831f712a22a3ff23acc870d43c490e0c12f..fd694df30457ec11998188b8c0d61946cfaab133 100644 (file)
@@ -2,10 +2,10 @@ error[E0599]: no method named `iter` found for struct `Iterate` in the current s
   --> $DIR/issue-41880.rs:27:24
    |
 LL | pub struct Iterate<T, F> {
-   | ------------------------ method `iter` not found for this
+   | ------------------------ method `iter` not found for this struct
 ...
 LL |     println!("{:?}", a.iter().take(10).collect::<Vec<usize>>());
-   |                        ^^^^ method not found in `Iterate<{integer}, [closure@$DIR/issue-41880.rs:26:24: 26:31]>`
+   |                        ^^^^ method not found in `Iterate<{integer}, [closure@$DIR/issue-41880.rs:26:24: 26:27]>`
 
 error: aborting due to previous error