]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr
Rollup merge of #41249 - GuillaumeGomez:rustdoc-render, r=steveklabnik,frewsxcv
[rust.git] / src / test / ui / lifetime-errors / ex2a-push-one-existing-name.stderr
index 6f42a9f679a6a51225746d8d0f386139afc0f8f4..6956a043cc694a4a8ee04375b23c0e658948e10c 100644 (file)
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
 16 |     x.push(y);
    |            ^ lifetime mismatch
    |
-   = note: expected type `Ref<'a, i32>`
-              found type `Ref<'_, i32>`
+   = note: expected type `Ref<'a, _>`
+              found type `Ref<'_, _>`
 note: the anonymous lifetime #2 defined on the body at 15:51...
   --> $DIR/ex2a-push-one-existing-name.rs:15:52
    |