]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/associated-types-overridden-binding-2.rs
Adjust wording
[rust.git] / src / test / ui / associated-types / associated-types-overridden-binding-2.rs
index 109feb8e969a5f55de76f6b8cc85670124cf6cf8..26b9f4b3a92660ea78b923adb3884545ea4eb81a 100644 (file)
@@ -4,5 +4,5 @@
 
 fn main() {
     let _: &dyn I32Iterator<Item = u32> = &vec![42].into_iter();
-    //~^ ERROR type mismatch
+    //~^ ERROR expected `std::vec::IntoIter<u32>` to be an iterator that yields `i32`, but it yields `u32`
 }