]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-65611.stderr
Add more context for type parameters
[rust.git] / src / test / ui / issues / issue-65611.stderr
index 3be08b233e470acafffbd1dfbcab06ada41b4e6a..20e2ba144d92636e359de3919603bda17285d07f 100644 (file)
@@ -4,7 +4,7 @@ error[E0282]: type annotations needed
 LL |     let x = buffer.last().unwrap().0.clone();
    |             -------^^^^--
    |             |      |
-   |             |      cannot infer type for `T`
+   |             |      cannot infer type for type parameter `T`
    |             this method call resolves to `std::option::Option<&T>`
    |
    = note: type must be known at this point